net.sourceforge.cruisecontrol.sourcecontrols
Class SnapshotCM
java.lang.Object
net.sourceforge.cruisecontrol.sourcecontrols.SnapshotCM
- All Implemented Interfaces:
- java.io.Serializable, SourceControl
- public class SnapshotCM
- extends java.lang.Object
- implements SourceControl
Retrieves change history from SnapshotCM source control using whist command.
- Author:
- patrick.conant@hp.com
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OUT_DATE_FORMAT
public static final java.lang.String OUT_DATE_FORMAT
- See Also:
- Constant Field Values
SnapshotCM
public SnapshotCM()
setProperty
public void setProperty(java.lang.String property)
setPropertyOnDelete
public void setPropertyOnDelete(java.lang.String propertyOnDelete)
- From SourceControl interface. n
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
setSourcePaths
public void setSourcePaths(java.lang.String sourcePaths)
setSourcePath
public void setSourcePath(java.lang.String sourcePath)
createSourcePath
public SnapshotCM.SourcePath createSourcePath()
validate
public void validate()
throws CruiseControlException
- From SourceControl interface.
- Specified by:
validate
in interface SourceControl
- Throws:
CruiseControlException
getModifications
public java.util.List getModifications(java.util.Date lastBuild,
java.util.Date now)
- Returns an
List
of Modification
detailing all the changes between now and the last build.
- Specified by:
getModifications
in interface SourceControl
- Parameters:
lastBuild
- the last build timenow
- time now, or time to check, NOT USED
- Returns:
- the list of modifications, an empty (not null) list if no
modifications.