net.praqma.jenkins.plugin.reloaded
Class RebuildAction
java.lang.Object
net.praqma.jenkins.plugin.reloaded.RebuildAction
- All Implemented Interfaces:
- hudson.model.Action, hudson.model.ModelObject
public class RebuildAction
- extends Object
- implements hudson.model.Action
This is the action for a matrix build, that determines which(if any) combinations, that should be rebuild.
- Author:
- wolfgang
RebuildAction
public RebuildAction()
setBaseBuildNumber
public void setBaseBuildNumber(int baseBuildNumber)
setRebuildDownstream
public void setRebuildDownstream(boolean b)
getBaseBuildNumber
public int getBaseBuildNumber()
doRebuildDownstream
public boolean doRebuildDownstream()
clone
public RebuildAction clone(int baseBuildNumber)
clone
public RebuildAction clone()
- Overrides:
clone in class Object
addConfiguration
public void addConfiguration(hudson.matrix.Combination combination,
boolean reuse)
- Add a configuration to the build state
- Parameters:
config - A String representing the
MatrixConfiguration given as its
Combinationreuse - A boolean to determine whether to reuse the
Run or not
getConfiguration
public boolean getConfiguration(hudson.matrix.Combination combination)
- Returns whether or not to rebuild the
Run If the
combination is not in the database, the method returns true, meaning
the run will build.
- Parameters:
combination - A MatrixConfiguration given
as its Combination
- Returns:
- A boolean determining whether or nor to rebuild the
Run
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName in interface hudson.model.Action- Specified by:
getDisplayName in interface hudson.model.ModelObject
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileName in interface hudson.model.Action
getUrlName
public String getUrlName()
- Specified by:
getUrlName in interface hudson.model.Action
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2004-2014. All Rights Reserved.