Package com.sonyericsson.rebuild
Class RebuildLastCompletedBuildAction
- java.lang.Object
-
- com.sonyericsson.rebuild.AbstractRebuildAction
-
- com.sonyericsson.rebuild.RebuildLastCompletedBuildAction
-
- All Implemented Interfaces:
Action
,ModelObject
public class RebuildLastCompletedBuildAction extends AbstractRebuildAction
Reschedules last completed build for the project if available. Otherwise it behaves as if the user clicked on the build now button.
-
-
Constructor Summary
Constructors Constructor Description RebuildLastCompletedBuildAction(AbstractProject<?,?> project)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDisplayName()
String
getIconFileName()
AbstractProject<?,?>
getProject()
Method will return current project.protected Run<?,?>
getRun()
String
getTaskUrl()
String
getUrlName()
boolean
isRequiresPOST()
-
Methods inherited from class com.sonyericsson.rebuild.AbstractRebuildAction
isMatrixRun, isRebuildAvailable
-
-
-
-
Constructor Detail
-
RebuildLastCompletedBuildAction
public RebuildLastCompletedBuildAction(AbstractProject<?,?> project)
-
-
Method Detail
-
getProject
public AbstractProject<?,?> getProject()
Description copied from class:AbstractRebuildAction
Method will return current project.- Specified by:
getProject
in classAbstractRebuildAction
- Returns:
- currentProject.
-
getRun
protected Run<?,?> getRun()
- Specified by:
getRun
in classAbstractRebuildAction
-
getUrlName
public String getUrlName()
-
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileName
in interfaceAction
- Overrides:
getIconFileName
in classAbstractRebuildAction
-
getTaskUrl
public String getTaskUrl()
- Specified by:
getTaskUrl
in classAbstractRebuildAction
-
isRequiresPOST
public boolean isRequiresPOST()
- Specified by:
isRequiresPOST
in classAbstractRebuildAction
-
getDisplayName
public String getDisplayName()
-
-