Package com.sonyericsson.rebuild
Class AbstractRebuildAction
java.lang.Object
com.sonyericsson.rebuild.AbstractRebuildAction
- All Implemented Interfaces:
Action
,ModelObject
- Direct Known Subclasses:
RebuildAction
,RebuildLastCompletedBuildAction
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Job<?,
?> Method will return current project.protected abstract Run<?,
?> getRun()
abstract String
boolean
Method for checking whether current build is sub job(MatrixRun) of Matrix build.boolean
Method for checking whether the rebuild functionality would be available for build.abstract boolean
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
-
Constructor Details
-
AbstractRebuildAction
public AbstractRebuildAction()
-
-
Method Details
-
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
-
isRequiresPOST
public abstract boolean isRequiresPOST() -
getProject
Method will return current project.- Returns:
- currentProject.
-
getRun
-
isMatrixRun
public boolean isMatrixRun()Method for checking whether current build is sub job(MatrixRun) of Matrix build.- Returns:
- boolean
-