|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.cruisecontrol.sourcecontrols.PlasticSCM
This class implements the SourceControl class for a Plastic SCM repository.
Field Summary | |
static java.lang.String |
DATEFORMAT
|
static java.lang.String |
DELIMITER
|
static java.lang.String |
QUERYFORMAT
|
Constructor Summary | |
PlasticSCM()
|
Method Summary | |
protected Commandline |
buildFindCommand(java.util.Date lastBuild,
java.util.Date now)
Build the Plastic SCM find command. |
java.util.List |
getModifications(java.util.Date lastBuild,
java.util.Date now)
Returns an List of Modification s detailing all the changes between now
and the last build. |
java.util.Map |
getProperties()
Any properties that have been set in this sourcecontrol. |
protected java.util.List |
parseStream(java.io.InputStream input)
Parse the find command output. |
void |
setBranch(java.lang.String branch)
Selects a branch |
void |
setProperty(java.lang.String property)
|
void |
setRepository(java.lang.String repository)
Selects a repository |
void |
setWkspath(java.lang.String wkspath)
Selects a workspace |
void |
validate()
Validate the attributes. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String DATEFORMAT
public static final java.lang.String DELIMITER
public static final java.lang.String QUERYFORMAT
Constructor Detail |
public PlasticSCM()
Method Detail |
public void setWkspath(java.lang.String wkspath)
wkspath
- the path of the workspace to work in, in the local filesystempublic void setBranch(java.lang.String branch)
branch
- the branch in which changes will be looked for.public void setRepository(java.lang.String repository)
repository
- the repository in which changes will be looked for.public void setProperty(java.lang.String property)
public java.util.Map getProperties()
SourceControl
getProperties
in interface SourceControl
public void validate() throws CruiseControlException
validate
in interface SourceControl
CruiseControlException
public java.util.List getModifications(java.util.Date lastBuild, java.util.Date now)
List
of Modification
s detailing all the changes between now
and the last build.
getModifications
in interface SourceControl
lastBuild
- the last build timenow
- time now, or time to check
protected Commandline buildFindCommand(java.util.Date lastBuild, java.util.Date now) throws CruiseControlException
CruiseControlException
protected java.util.List parseStream(java.io.InputStream input) throws java.io.IOException, java.text.ParseException
java.io.IOException
java.text.ParseException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |