net.sourceforge.cruisecontrol
Class ModificationSet

java.lang.Object
  |
  +--org.apache.tools.ant.Task
        |
        +--net.sourceforge.cruisecontrol.ModificationSet

public class ModificationSet
extends org.apache.tools.ant.Task

This class is designed to record the modifications made to the source control management system since the last build


Field Summary
static java.lang.String BUILDUNNECESSARY
           
static java.lang.String SNAPSHOTTIMESTAMP
           
static java.lang.String USERS
           
 
Fields inherited from class org.apache.tools.ant.Task
description, location, project, target, taskName, taskType, wrapper
 
Constructor Summary
ModificationSet()
           
 
Method Summary
 CVSElement createCvselement()
          add a nested element for cvs specific code.
 VssElement createVsselement()
          add a nested element for sourcesafe specific code.
 void execute()
          do stuff, namely get all modifications since the last build time, and make sure that the appropriate quiet period is enforced so that we aren't building with 1/2 of someone's checkins.
 void setDateformat(java.lang.String format)
           
 void setLastbuild(java.lang.String s)
          set the timestamp of the last build time.
 void setQuietperiod(long seconds)
          Set the number of seconds that the repository has to be quiet before building to avoid building while checkins are in progress
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getProject, getRuntimeConfigurableWrapper, getTaskName, init, log, log, maybeConfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BUILDUNNECESSARY

public static final java.lang.String BUILDUNNECESSARY

SNAPSHOTTIMESTAMP

public static final java.lang.String SNAPSHOTTIMESTAMP

USERS

public static final java.lang.String USERS
Constructor Detail

ModificationSet

public ModificationSet()
Method Detail

setLastbuild

public void setLastbuild(java.lang.String s)
set the timestamp of the last build time. String should be formatted as "yyyyMMddHHmmss"

setQuietperiod

public void setQuietperiod(long seconds)
Set the number of seconds that the repository has to be quiet before building to avoid building while checkins are in progress

setDateformat

public void setDateformat(java.lang.String format)

createVsselement

public VssElement createVsselement()
add a nested element for sourcesafe specific code.

createCvselement

public CVSElement createCvselement()
add a nested element for cvs specific code.

execute

public void execute()
             throws org.apache.tools.ant.BuildException
do stuff, namely get all modifications since the last build time, and make sure that the appropriate quiet period is enforced so that we aren't building with 1/2 of someone's checkins.
Overrides:
execute in class org.apache.tools.ant.Task