Class WorkspaceBrowserRootAction
- java.lang.Object
-
- org.jenkinsci.plugins.ewm.actions.WorkspaceBrowserRootAction
-
- All Implemented Interfaces:
ExtensionPoint,Action,ModelObject,RootAction
@Extension public class WorkspaceBrowserRootAction extends Object implements RootAction
RootActionimplementation that handles workspace browsing by its id.- Author:
- Alexandru Somai
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description WorkspaceBrowserRootAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetBrowse(String workspaceId)Method accessed by the Stapler framework when the following url is accessed: JENKINS_ROOT_URL/exws/browse/workspaceId/StringgetDisplayName()StringgetIconFileName()StringgetUrlName()
-
-
-
Method Detail
-
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileNamein interfaceAction
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayNamein interfaceAction- Specified by:
getDisplayNamein interfaceModelObject
-
getUrlName
public String getUrlName()
- Specified by:
getUrlNamein interfaceAction
-
getBrowse
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) @Nonnull public Object getBrowse(String workspaceId) throws IOException
Method accessed by the Stapler framework when the following url is accessed: JENKINS_ROOT_URL/exws/browse/workspaceId/- Parameters:
workspaceId- the workspace's unique id- Returns:
- the workspace whose id matches the given input id, or
NoFingerprintMatchif fingerprint is not found - Throws:
IOException- if fingerprint load operation failsIllegalArgumentException- ifWorkspaceBrowserFacetis not registered for the matching fingerprint
-
-