Class ExwsAllocateActionImpl
- java.lang.Object
-
- org.jenkinsci.plugins.ewm.actions.ExwsAllocateActionImpl
-
- All Implemented Interfaces:
Action,ModelObject,RunAction2
public class ExwsAllocateActionImpl extends Object implements RunAction2
RunAction2implementation 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 voidaddAllocatedWorkspace(ExternalWorkspace externalWorkspace)List<ExternalWorkspace>getAllocatedWorkspaces()StringgetDisplayName()StringgetIconFileName()RungetParent()StringgetUrlName()voidonAttached(Run<?,?> run)voidonLoad(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:
getIconFileNamein interfaceAction
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayNamein interfaceAction- Specified by:
getDisplayNamein interfaceModelObject
-
getUrlName
public String getUrlName()
- Specified by:
getUrlNamein interfaceAction
-
onAttached
public void onAttached(Run<?,?> run)
- Specified by:
onAttachedin interfaceRunAction2
-
onLoad
public void onLoad(Run<?,?> run)
- Specified by:
onLoadin interfaceRunAction2
-
-