|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.cruisecontrol.sourcecontrols.AllFusionHarvest
SourceControl for CA's AllFusion Harvest Change Manager
| Nested Class Summary | |
class |
AllFusionHarvest.MyLogStreamListener
This class implements a Harvest log stream listener and takes messages from Harvest and gives them appropriate log levels in the Log4J stream for the AllFusionHarvest sourcecontrol. |
| Constructor Summary | |
AllFusionHarvest()
Default contructor. |
|
| Method Summary | |
java.util.List |
getModifications(java.util.Date lastBuild,
java.util.Date now)
Returns a List of Modifications detailing all the changes between the last build and the latest revision at the repository |
java.util.Map |
getProperties()
Any properties that have been set in this sourcecontrol. |
protected boolean |
login()
Internal method which connects to Harvest using the details provided. |
protected void |
logout()
Internal method which disconnects from Harvest. |
void |
setBroker(java.lang.String broker)
Sets the Harvest Broker for all calls to HSDK. |
protected void |
setEmailAddress(java.lang.String username,
java.lang.String emailAddress)
This is an accessor is only intended to be used for testing. |
void |
setPassword(java.lang.String password)
Sets the Harvest password for all calls to HSDK. |
void |
setProject(java.lang.String project)
Sets the Harvest project for all calls to HSDK. |
void |
setProperty(java.lang.String property)
Sets the name of the property to set if a modification is detected. |
void |
setPropertyOnDelete(java.lang.String propertyOnDelete)
Sets the name of the property to set if a file has been deleted. |
void |
setState(java.lang.String state)
Sets the Harvest state for all calls to HSDK. |
void |
setUsername(java.lang.String username)
Sets the Harvest username for all calls to HSDK. |
protected Modification |
transformJCaVersionContainerToModification(JCaContainerWrap versionList,
int n)
Transforms a set of version properties into a CruiseControl Modification object. |
void |
validate()
Standard Bootstrapper validation method. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AllFusionHarvest()
| Method Detail |
public void setBroker(java.lang.String broker)
broker - Harvest Broker to use.public void setUsername(java.lang.String username)
username - Harvest username to use.public void setPassword(java.lang.String password)
password - Harvest password to use.public void setProject(java.lang.String project)
project - Harvest project to use.public void setState(java.lang.String state)
state - Harvest state to use.public void setProperty(java.lang.String property)
property - The name of the property.public void setPropertyOnDelete(java.lang.String propertyOnDelete)
propertyOnDelete - The name of the property.public java.util.Map getProperties()
SourceControl
getProperties in interface SourceControl
public void validate()
throws CruiseControlException
validate in interface SourceControlCruiseControlException
public java.util.List getModifications(java.util.Date lastBuild,
java.util.Date now)
getModifications in interface SourceControllastBuild - last build timenow -
protected Modification transformJCaVersionContainerToModification(JCaContainerWrap versionList,
int n)
versionList - a set of version information propertiesn - the index of the property information to use
protected boolean login()
protected void logout()
protected void setEmailAddress(java.lang.String username,
java.lang.String emailAddress)
username - The name of the user who's email address is being setemailAddress - The corresponding email address of that user
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||