|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.cruisecontrol.Modification
net.sourceforge.cruisecontrol.sourcecontrols.CMSynergyModification
Data structure which holds data specific to a single modification within a CM Synergy repository.
Nested Class Summary | |
class |
CMSynergyModification.ChangeRequest
Data structure which holds data specific to a Change Request associated with a modification within a CM Synergy repository. |
class |
CMSynergyModification.ModifiedObject
Data structure which holds data specific to a single object included in a modification within a CM Synergy repository. |
Nested classes inherited from class net.sourceforge.cruisecontrol.Modification |
Modification.ModifiedFile |
Field Summary | |
java.util.List |
changeRequests
A list of change requests associated with this modification |
java.lang.String |
taskNumber
The CM Synergy task number represented by this modification |
Fields inherited from class net.sourceforge.cruisecontrol.Modification |
comment, emailAddress, files, modifiedTime, revision, type, userName |
Constructor Summary | |
CMSynergyModification()
Creates a new CMSynergyModification object and sets it's
modification type to "ccmtask". |
Method Summary | |
CMSynergyModification.ChangeRequest |
createChangeRequest(java.lang.String number)
Creates a new ChangeRequest , and adds it to the list of
change requests associated with the task. |
CMSynergyModification.ModifiedObject |
createModifiedObject()
Creates a new ModifiedObject , and adds it to the list of
CM Synergy objects associated with the task. |
CMSynergyModification.ModifiedObject |
createModifiedObject(java.lang.String name,
java.lang.String version,
java.lang.String type,
java.lang.String instance,
java.lang.String project,
java.lang.String comment)
Creates a new ModifiedObject , populates the fields, and
adds it to the list of CM Synergy objects associated with the task. |
boolean |
equals(java.lang.Object o)
|
void |
fromElement(org.jdom.Element modification,
java.text.DateFormat formatter)
|
void |
log(java.text.DateFormat formatter)
|
org.jdom.Element |
toElement(java.text.DateFormat formatter)
|
java.lang.String |
toString()
|
Methods inherited from class net.sourceforge.cruisecontrol.Modification |
compareTo, createModifiedFile, getFileName, getFolderName, getFullPath, getModifiedFiles, hashCode, newModifiedFile, toXml |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public java.lang.String taskNumber
public java.util.List changeRequests
Constructor Detail |
public CMSynergyModification()
CMSynergyModification
object and sets it's
modification type to "ccmtask".
Method Detail |
public final CMSynergyModification.ModifiedObject createModifiedObject()
ModifiedObject
, and adds it to the list of
CM Synergy objects associated with the task.
ModifiedObject
public final CMSynergyModification.ModifiedObject createModifiedObject(java.lang.String name, java.lang.String version, java.lang.String type, java.lang.String instance, java.lang.String project, java.lang.String comment)
ModifiedObject
, populates the fields, and
adds it to the list of CM Synergy objects associated with the task.
name
- The object's nameversion
- The object's versiontype
- The object's type within CM Synergyinstance
- The object's instanceproject
- The project with which the object is associatedcomment
- The comment provided when checking in the object
ModifiedObject
public final CMSynergyModification.ChangeRequest createChangeRequest(java.lang.String number)
ChangeRequest
, and adds it to the list of
change requests associated with the task.
number
- The CR number
ChangeRequest
public org.jdom.Element toElement(java.text.DateFormat formatter)
toElement
in class Modification
public java.lang.String toString()
toString
in class Modification
public void log(java.text.DateFormat formatter)
log
in class Modification
public void fromElement(org.jdom.Element modification, java.text.DateFormat formatter)
fromElement
in class Modification
public boolean equals(java.lang.Object o)
equals
in class Modification
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |