|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.cruisecontrol.sourcecontrols.AllFusionHarvestCM511
This class implements the SourceControl methods for an AllFusion Harvest CM 5.1.1 repository. The call to AllFusionHarvestCM511 is assumed to work without any setup. This implies that the login parameters are specified in the cc configuration file.
Constructor Summary | |
AllFusionHarvestCM511()
|
Method Summary | |
java.lang.String |
getBrokerName()
Gets the broker name for authentication |
java.util.List |
getModifications(java.util.Date lastBuildTime,
java.util.Date now)
Returns a list of type net.sourceforge.cruisecontrol.Modification detailing all the changes between
the last build and the latest revision in the repository. |
java.lang.String |
getProjectName()
Gets the project/repository name used to check for modifications. |
java.util.Map |
getProperties()
Any properties that have been set in this sourcecontrol. |
java.lang.String |
getRepositoryName()
Gets the project/repository name used to check for modifications. |
java.lang.String |
getStateName()
|
long |
getTimeAdjustmentFactor()
Retrieve the time adjustment factor used to calculate the modification time of an item when the AllFusion Harvest Server times are different then that of the cc Server. |
boolean |
isDebug()
Determines whether to display debug information. |
static void |
main(java.lang.String[] args)
Main method used to test the plug-in. |
void |
setBrokerName(java.lang.String b)
Sets the broker name for authentication |
void |
setDebug(java.lang.String debug)
|
void |
setPassword(java.lang.String p)
Sets the password for authentication. |
void |
setProjectName(java.lang.String p)
Sets the project/repository name used to check for modifications. |
void |
setProperty(java.lang.String p)
|
void |
setRepositoryName(java.lang.String r)
Sets the project/repository name used to check for modifications. |
void |
setStateName(java.lang.String name)
|
void |
setTimeAdjustmentFactor(java.lang.String factor)
Used to calculate the modification time of an item when the AllFusion Harvest Server times are different then that of the cc Server. |
void |
setUsername(java.lang.String u)
Sets the username for authentication. |
void |
validate()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AllFusionHarvestCM511()
Method Detail |
public java.lang.String getStateName()
public void setStateName(java.lang.String name)
public boolean isDebug()
public void setDebug(java.lang.String debug)
debug
- true or false to set the debugging level.public long getTimeAdjustmentFactor()
public void setTimeAdjustmentFactor(java.lang.String factor)
factor
- Time in milliseconds.public void setProperty(java.lang.String p)
public void setUsername(java.lang.String u)
public void setPassword(java.lang.String p)
public java.lang.String getBrokerName()
public void setBrokerName(java.lang.String b)
public java.lang.String getProjectName()
public void setProjectName(java.lang.String p)
public java.lang.String getRepositoryName()
public void setRepositoryName(java.lang.String r)
public void validate() throws CruiseControlException
validate
in interface SourceControl
CruiseControlException
- Thrown when the brokerName, userName, password or projectName are nullpublic java.util.List getModifications(java.util.Date lastBuildTime, java.util.Date now)
net.sourceforge.cruisecontrol.Modification
detailing all the changes between
the last build and the latest revision in the repository.
getModifications
in interface SourceControl
lastBuildTime
- Date representing the last time the build executed.now
- Date representing the current system time (i.e. the cc server system time).
net.sourceforge.cruisecontrol.Modification
, or an empty list if we failed
to retrieve the changes.public static void main(java.lang.String[] args)
args
- String[] array containing all commandline arguments.public java.util.Map getProperties()
SourceControl
getProperties
in interface SourceControl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |