net.praqma.jenkins.plugin.reloaded
Class MatrixReloadedState.BuildState

java.lang.Object
  extended by net.praqma.jenkins.plugin.reloaded.MatrixReloadedState.BuildState
Enclosing class:
MatrixReloadedState

public class MatrixReloadedState.BuildState
extends Object

This is the class holding the information about a Matrix Reloaded state retrieved from the form submit.

Author:
wolfgang

Field Summary
 int rebuildNumber
           
 String uuid
           
 
Method Summary
 void addConfiguration(hudson.matrix.Combination combination, boolean reuse)
          Add a configuration to the build state
 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.
 void remove()
          Remove the MatrixReloadedState.BuildState object from the Map.
 void removeConfiguration(hudson.matrix.Combination combination)
          Remove a configuration from the build state
 int size()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

uuid

public String uuid

rebuildNumber

public int rebuildNumber
Method Detail

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 Combination
reuse - A boolean to determine whether to reuse the Run or not

remove

public void remove()
Remove the MatrixReloadedState.BuildState object from the Map.


removeConfiguration

public void removeConfiguration(hudson.matrix.Combination combination)
Remove a configuration from the build state

Parameters:
combination - A MatrixConfiguration given as its Combination

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

toString

public String toString()
Overrides:
toString in class Object

size

public int size()


Copyright © 2004-2011. All Rights Reserved.