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
RootAction
implementation 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 Object
getBrowse(String workspaceId)
Method accessed by the Stapler framework when the following url is accessed: JENKINS_ROOT_URL/exws/browse/workspaceId/String
getDisplayName()
String
getIconFileName()
String
getUrlName()
-
-
-
Method Detail
-
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileName
in interfaceAction
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getUrlName
public String getUrlName()
- Specified by:
getUrlName
in 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
NoFingerprintMatch
if fingerprint is not found - Throws:
IOException
- if fingerprint load operation failsIllegalArgumentException
- ifWorkspaceBrowserFacet
is not registered for the matching fingerprint
-
-