Package com.sonyericsson.rebuild
Class AbstractRebuildAction
- java.lang.Object
-
- com.sonyericsson.rebuild.AbstractRebuildAction
-
- All Implemented Interfaces:
Action
,ModelObject
- Direct Known Subclasses:
RebuildAction
,RebuildLastCompletedBuildAction
public abstract class AbstractRebuildAction extends Object implements Action
-
-
Constructor Summary
Constructors Constructor Description AbstractRebuildAction()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description String
getIconFileName()
abstract Job<?,?>
getProject()
Method will return current project.protected abstract Run<?,?>
getRun()
abstract String
getTaskUrl()
boolean
isMatrixRun()
Method for checking whether current build is sub job(MatrixRun) of Matrix build.boolean
isRebuildAvailable()
Method for checking whether the rebuild functionality would be available for build.abstract boolean
isRequiresPOST()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface hudson.model.Action
getDisplayName, getUrlName
-
-
-
-
Method Detail
-
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileName
in interfaceAction
-
isRebuildAvailable
public boolean isRebuildAvailable()
Method for checking whether the rebuild functionality would be available for build.- Returns:
- boolean
-
getTaskUrl
public abstract String getTaskUrl()
-
isRequiresPOST
public abstract boolean isRequiresPOST()
-
getProject
public abstract Job<?,?> getProject()
Method will return current project.- Returns:
- currentProject.
-
getRun
@CheckForNull protected abstract Run<?,?> getRun()
-
isMatrixRun
public boolean isMatrixRun()
Method for checking whether current build is sub job(MatrixRun) of Matrix build.- Returns:
- boolean
-
-