Class ExwsAllocateActionImpl
- java.lang.Object
-
- org.jenkinsci.plugins.ewm.actions.ExwsAllocateActionImpl
-
- All Implemented Interfaces:
Action
,ModelObject
,RunAction2
public class ExwsAllocateActionImpl extends Object implements RunAction2
RunAction2
implementation for theExwsAllocateStep
. Stores the allocatedExternalWorkspace
(s) that will be later used by the downstream job.- Author:
- Alexandru Somai
-
-
Constructor Summary
Constructors Constructor Description ExwsAllocateActionImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAllocatedWorkspace(ExternalWorkspace externalWorkspace)
List<ExternalWorkspace>
getAllocatedWorkspaces()
String
getDisplayName()
String
getIconFileName()
Run
getParent()
String
getUrlName()
void
onAttached(Run<?,?> run)
void
onLoad(Run<?,?> run)
-
-
-
Method Detail
-
getParent
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public Run getParent()
-
addAllocatedWorkspace
public void addAllocatedWorkspace(@Nonnull ExternalWorkspace externalWorkspace)
-
getAllocatedWorkspaces
@Nonnull public List<ExternalWorkspace> getAllocatedWorkspaces()
-
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
-
onAttached
public void onAttached(Run<?,?> run)
- Specified by:
onAttached
in interfaceRunAction2
-
onLoad
public void onLoad(Run<?,?> run)
- Specified by:
onLoad
in interfaceRunAction2
-
-