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 StringbooleanMethod for checking whether current build is sub job(MatrixRun) of Matrix build.booleanMethod for checking whether the rebuild functionality would be available for build.abstract booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.model.Action
getDisplayName, getUrlName
-
Constructor Details
-
AbstractRebuildAction
public AbstractRebuildAction()
-
-
Method Details
-
getIconFileName
- Specified by:
getIconFileNamein 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
-