net.sourceforge.cruisecontrol.sourcecontrols
Class Veto

java.lang.Object
  extended bynet.sourceforge.cruisecontrol.sourcecontrols.Veto
All Implemented Interfaces:
java.io.Serializable, SourceControl

public class Veto
extends java.lang.Object
implements SourceControl

See Also:
Serialized Form

Constructor Summary
Veto()
           
 
Method Summary
 BuildStatus createBuildStatus()
           
 Triggers createTriggers()
           
protected  BuildStatus getBuildStatus()
           
 java.util.List getModifications(java.util.Date lastBuild, java.util.Date now)
          Get a List of Modifications detailing all the changes between now and the last build
 java.util.Map getProperties()
          Any properties that have been set in this sourcecontrol.
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Veto

public Veto()
Method Detail

getModifications

public java.util.List getModifications(java.util.Date lastBuild,
                                       java.util.Date now)
Description copied from interface: SourceControl
Get a List of Modifications detailing all the changes between now and the last build

Specified by:
getModifications in interface SourceControl
Parameters:
lastBuild -
now -
Returns:
List of Modification objects

getProperties

public java.util.Map getProperties()
Description copied from interface: SourceControl
Any properties that have been set in this sourcecontrol. Will be passed onto the Builder, which may then pass the properties to the underlying build implementation. For example, the Ant builder will define these properties so that the underlying Ant script can use them.

Specified by:
getProperties in interface SourceControl

validate

public void validate()
              throws CruiseControlException
Specified by:
validate in interface SourceControl
Throws:
CruiseControlException

createTriggers

public Triggers createTriggers()
                        throws CruiseControlException
Throws:
CruiseControlException

createBuildStatus

public BuildStatus createBuildStatus()
                              throws CruiseControlException
Throws:
CruiseControlException

getBuildStatus

protected BuildStatus getBuildStatus()