|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectscm.pub.transport.ChangeRequestCreator_d
ChangeRequestCreator_d. Use an instance of this class and the Project gateway to create a new ChangeRequest in the system.
| Constructor Summary | |
ChangeRequestCreator_d(java.lang.String creator,
java.lang.String assignee,
java.lang.String header,
java.lang.String description,
java.lang.String creationState,
java.lang.String assignedState,
java.lang.String assignedGeneric,
java.util.HashMap attributes)
Create a ChangeRequest_d object from a persisten ChangeRequest_p. |
|
| Method Summary | |
java.lang.String |
getAssignedGeneric()
Get the assigned generic information for this CR. |
java.lang.String |
getAssignedState()
Get the assigned state information for this CR. |
java.lang.String |
getAssignee()
Get the assignee information for this CR. |
java.util.HashMap |
getAttributes()
Get the attribute/value pairs for this CR. |
java.lang.String |
getCreationState()
Get the creation state information for this CR. |
java.lang.String |
getCreator()
Get the creator information for this CR. |
java.lang.String |
getDescription()
Get the description information for this CR. |
java.lang.String |
getHeader()
Get the header information for this CR. |
void |
setAssignedState(java.lang.String state)
Set the assigned state for this CR. |
void |
setAttributeAndValue(java.lang.String attribute,
java.lang.String value)
Add a CR attribute/value pair to this CR. |
void |
setCreatedState(java.lang.String state)
Set the Creation state for this CR |
void |
setDescription(java.lang.String desc)
Set the description for this CR |
void |
setGeneric(java.lang.String generic)
Set the assigned generic for this CR |
void |
setHeader(java.lang.String header)
Set the head for this CR |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ChangeRequestCreator_d(java.lang.String creator,
java.lang.String assignee,
java.lang.String header,
java.lang.String description,
java.lang.String creationState,
java.lang.String assignedState,
java.lang.String assignedGeneric,
java.util.HashMap attributes)
throws InvalidUser
creator - The user that is creating this CR.assignee - The user that this CR is to be assigned to.header - The header information for this CR. This is usually
limited to a single line of text.description - The multi-line description for this CR.creationState - The current project life-cycle state. For instance,
if the current project is in the "Testing" phase, then
this attribute would be set to "Testing".assignedState - The phase in the development life-cycle that this
CR should be set to.assignedGeneric - The generic/branch that this CR should be assigned to.attributes - A HashMap of attribute/value pairs for this CR.
InvalidUser - If the user information is incorrect.| Method Detail |
public java.lang.String getAssignedGeneric()
public java.util.HashMap getAttributes()
public java.lang.String getAssignedState()
public java.lang.String getCreationState()
public java.lang.String getAssignee()
public java.lang.String getCreator()
public java.lang.String getDescription()
public java.lang.String getHeader()
public void setAttributeAndValue(java.lang.String attribute,
java.lang.String value)
attribute - An attribute for this CR.value - The value of the supplied attribute.public void setCreatedState(java.lang.String state)
state - The creation state for a CR does not have to match
the assigned state for the CR. The creation state
is an indication of the current state of development
that this CR was created in.public void setAssignedState(java.lang.String state)
state - The state to assign this CR to.public void setHeader(java.lang.String header)
header - The header information for this CR. Normally the header
is no more than one (1) line long.public void setDescription(java.lang.String desc)
desc - The Description for a CR is any amount of text and
can include embedded new lines.public void setGeneric(java.lang.String generic)
generic - The generic that this CR should be assigned to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||