|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.starbase.starteam.CacheRef
|
+--com.starbase.starteam.NamedCacheRef
|
+--com.starbase.starteam.TypedResource
|
+--com.starbase.starteam.SimpleTypedResource
|
+--com.starbase.starteam.Item
|
+--com.starbase.starteam.ChangeRequest
Represents a StarTeam ChangeRequest item.
| Nested Class Summary |
| Nested classes inherited from class com.starbase.starteam.Item |
Item.LockType |
| Constructor Summary | |
ChangeRequest(Folder parentFolder)
Constructs a new ChangeRequest in the specified folder. |
|
| Method Summary | |
boolean |
equals(java.lang.Object source)
returns true if this object instance is equal to the source |
int |
getAddressedBy()
Returns the user ID for the user that addressed this request. |
int |
getAddressedIn()
Returns a label ID representing the build or named configuration that this request was addressed in. |
int |
getAddressedInView()
Returns the ID of the view from which this Change Request was addressed. |
java.lang.String |
getCategory()
Returns the category of this request. |
OLEDate |
getClosedOn()
Returns the date that this request was given a closed status. |
java.lang.String |
getComponent()
Returns the component this request applies to. |
java.lang.String |
getDescription()
Returns the description of this change request. |
java.lang.String |
getExternalReference()
Returns a string value that represents some external reference, such as an identification number identifying this request in another system. |
java.lang.String |
getFix()
Returns the fix for this change request. |
int |
getLastBuildTested()
Returns a label ID of the build or named configuration that this request was last tested in. |
int |
getNumber()
Returns the numeric identifier of this change request in the StarTeam view. |
int |
getPlatform()
Returns the platform this Change Request applies to. |
java.lang.String |
getPlatformDisplayName(int value)
Returns a user-friendly display name for the given Platform value. |
int[] |
getPossiblePlatform()
Returns the possible enum codes that are valid transition values for the Platform property. |
int[] |
getPossiblePriority()
Returns the possible enum codes that are valid transition values for the Priority property. |
int[] |
getPossibleRequestType()
Returns the possible enum codes that are valid transition values for the RequestType property. |
int[] |
getPossibleSeverity()
Returns the possible enum codes that are valid transition values for the Severity property. |
int[] |
getPossibleStatus()
Returns the possible enum codes that are valid transition values for the Status property. |
int |
getPriority()
Returns the relative priority of this Change Request. |
java.lang.String |
getPriorityDisplayName(int value)
Returns a user-friendly display name for the given Priority value. |
int |
getReadStatus()
A flag indicating whether or not the user has read this item before. |
int |
getRequestType()
Returns this change request's type. |
java.lang.String |
getRequestTypeDisplayName(int value)
Returns a user-friendly display name for the given RequestType value. |
OLEDate |
getResolvedOn()
Returns the date that this Change Request was resolved. |
int |
getResponsibility()
Returns the user ID that is currently responsible for this request. |
int |
getSeverity()
Return the relative severity of the condition that this Change Request represents. |
java.lang.String |
getSeverityDisplayName(int value)
Returns a user-friendly display name for the given Severity value. |
int |
getStatus()
Returns the status (Open, Fixed, Closed, etc.) of this Change Request. |
java.lang.String |
getStatusDisplayName(int value)
Returns a user-friendly display name for the given Status value. |
java.lang.String |
getSynopsis()
Returns the synopsis or brief description of this request. |
java.lang.String |
getTestCommand()
Returns the test command string for this change request. |
OLEDate |
getVerifiedOn()
Returns the date that this Change Request was verified. |
java.lang.String |
getWorkAround()
Returns the workaround for this change request. |
int |
hashCode()
returns a unique hash for all instances of this type |
void |
setAddressedBy(int userID)
Sets the user ID for the user that addressed this request. |
void |
setAddressedIn(int labelID)
Sets the label ID in which this change request was addressed. |
void |
setAddressedInView(int viewID)
Sets the ID of the view from which this Change Request was addressed. |
void |
setCategory(java.lang.String category)
Sets the category for this change request. |
void |
setComponent(java.lang.String component)
Sets the component this change request applies to. |
void |
setDescription(java.lang.String description)
Sets the description of this change request. |
void |
setExternalReference(java.lang.String reference)
Sets the external reference for this change request. |
void |
setFix(java.lang.String fix)
Sets the fix for this change request. |
void |
setLastBuildTested(int labelID)
Sets the label ID for the build in which the change request was last tested. |
void |
setPlatform(int platform)
Sets the platform this change request applies to. |
void |
setPriority(int priority)
Sets the priority of this change request. |
void |
setRequestType(int type)
Sets this change request's type. |
void |
setResponsibility(int userID)
Sets the responsibility of this change request to the specified user ID. |
void |
setSeverity(int severity)
Sets the severity for this change request. |
void |
setStatus(int status)
Sets the status of this change request. |
void |
setSynopsis(java.lang.String synopsis)
Sets the synopsis for this change request. |
void |
setTestCommand(java.lang.String testCommand)
Sets the test command for this change request. |
void |
setWorkAround(java.lang.String workAround)
Sets the workaround for this change request. |
java.lang.String |
toString()
Returns a string representation of this change request. |
void |
update()
Persists the properties of this request to the repository. |
| Methods inherited from class com.starbase.starteam.TypedResource |
addToIntArray, removeFromIntArray |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ChangeRequest(Folder parentFolder)
parentFolder - the folder in which this change request will be stored.| Method Detail |
public java.lang.String getExternalReference()
PropertyNames.CR_EXTERNAL_REFERENCEpublic void setExternalReference(java.lang.String reference)
reference - the new external reference value for this change requestpublic int getNumber()
PropertyNames.CR_CHANGE_NUMBERpublic java.lang.String getSynopsis()
PropertyNames.CR_SYNOPSISpublic void setSynopsis(java.lang.String synopsis)
synopsis - the new synopsis for this change requestpublic int getRequestType()
ChangeRequest.getPossibleRequestType(),
ChangeRequest.getRequestTypeDisplayName(int),
PropertyNames.CR_TYPEpublic void setRequestType(int type)
type - The new type for this change request.public int[] getPossibleRequestType()
ChangeRequest.getRequestType(),
ChangeRequest.getRequestTypeDisplayName(int),
TypedResource.getPossibleValues(java.lang.String),
PropertyNames.CR_TYPEpublic java.lang.String getRequestTypeDisplayName(int value)
value - The RequestType value to be converted to a display name.
ChangeRequest.getRequestType(),
ChangeRequest.getPossibleRequestType(),
TypedResource.getEnumDisplayName(java.lang.String, int),
PropertyNames.CR_TYPEpublic int getStatus()
ChangeRequest.getPossibleStatus(),
ChangeRequest.getStatusDisplayName(int),
PropertyNames.CR_STATUSpublic void setStatus(int status)
status - The new status value for this change request.public int[] getPossibleStatus()
ChangeRequest.getStatus(),
ChangeRequest.getStatusDisplayName(int),
TypedResource.getPossibleValues(java.lang.String),
PropertyNames.CR_STATUSpublic java.lang.String getStatusDisplayName(int value)
value - The Status value to be converted to a display name.
ChangeRequest.getStatus(),
ChangeRequest.getPossibleStatus(),
TypedResource.getEnumDisplayName(java.lang.String, int),
PropertyNames.CR_STATUSpublic int getSeverity()
ChangeRequest.getPossibleSeverity(),
ChangeRequest.getSeverityDisplayName(int),
PropertyNames.CR_SEVERITYpublic void setSeverity(int severity)
severity - The new severity value for this change request.public int[] getPossibleSeverity()
ChangeRequest.getSeverity(),
ChangeRequest.getSeverityDisplayName(int),
TypedResource.getPossibleValues(java.lang.String),
PropertyNames.CR_SEVERITYpublic java.lang.String getSeverityDisplayName(int value)
value - The Severity value to be converted to a display name.
ChangeRequest.getSeverity(),
ChangeRequest.getPossibleSeverity(),
TypedResource.getEnumDisplayName(java.lang.String, int),
PropertyNames.CR_SEVERITYpublic int getAddressedIn()
PropertyNames.CR_ADDRESSED_INpublic void setAddressedIn(int labelID)
labelID - the label ID of the build in which this change request
is addressedLabel.NEXT_BUILD_IDpublic int getAddressedBy()
PropertyNames.CR_ADDRESSED_BYpublic void setAddressedBy(int userID)
userID - the user ID for the user that addressed this request.public int getAddressedInView()
PropertyNames.CR_ADDRESSED_IN_VIEWpublic void setAddressedInView(int viewID)
viewID - The new view ID.public int getLastBuildTested()
PropertyNames.CR_LAST_BUILD_TESTEDpublic void setLastBuildTested(int labelID)
labelID - the label ID for the last build in which the
change request was testedpublic int getResponsibility()
PropertyNames.CR_RESPONSIBILITYpublic void setResponsibility(int userID)
userID - the user ID of the user responsible for this requestpublic int getPriority()
ChangeRequest.getPossiblePriority(),
ChangeRequest.getPriorityDisplayName(int),
PropertyNames.CR_PRIORITYpublic void setPriority(int priority)
priority - The new priority for this change request.public int[] getPossiblePriority()
ChangeRequest.getPriority(),
ChangeRequest.getPriorityDisplayName(int),
TypedResource.getPossibleValues(java.lang.String),
PropertyNames.CR_PRIORITYpublic java.lang.String getPriorityDisplayName(int value)
value - The Priority value to be converted to a display name.
ChangeRequest.getPriority(),
ChangeRequest.getPossiblePriority(),
TypedResource.getEnumDisplayName(java.lang.String, int),
PropertyNames.CR_PRIORITYpublic java.lang.String getDescription()
PropertyNames.CR_DESCRIPTIONpublic void setDescription(java.lang.String description)
description - the new description for this change request.public int getPlatform()
ChangeRequest.getPossiblePlatform(),
ChangeRequest.getPlatformDisplayName(int),
PropertyNames.CR_PLATFORMpublic void setPlatform(int platform)
platform - The new platform this change request applies to.public int[] getPossiblePlatform()
ChangeRequest.getPlatform(),
ChangeRequest.getPlatformDisplayName(int),
TypedResource.getPossibleValues(java.lang.String),
PropertyNames.CR_PLATFORMpublic java.lang.String getPlatformDisplayName(int value)
value - The Platform value to be converted to a display name.
ChangeRequest.getPlatform(),
ChangeRequest.getPossiblePlatform(),
TypedResource.getEnumDisplayName(java.lang.String, int),
PropertyNames.CR_PLATFORMpublic java.lang.String getCategory()
PropertyNames.CR_CATEGORYpublic void setCategory(java.lang.String category)
category - the new category for this change requestpublic java.lang.String getComponent()
PropertyNames.CR_COMPONENTpublic void setComponent(java.lang.String component)
component - the new component this change request applies topublic java.lang.String getTestCommand()
PropertyNames.CR_TEST_COMMANDpublic void setTestCommand(java.lang.String testCommand)
testCommand - the new test command for this change request.public java.lang.String getWorkAround()
PropertyNames.CR_WORK_AROUNDpublic void setWorkAround(java.lang.String workAround)
workAround - the new workaround for this change request.public java.lang.String getFix()
PropertyNames.CR_FIXpublic void setFix(java.lang.String fix)
fix - the new fix for this change request.public OLEDate getClosedOn()
PropertyNames.CR_CLOSED_ONpublic OLEDate getVerifiedOn()
PropertyNames.CR_VERIFIED_ONpublic OLEDate getResolvedOn()
PropertyNames.CR_RESOLVED_ONpublic int getReadStatus()
getReadStatus in class ItemItem.getReadStatus()public void update()
update in class Itempublic java.lang.String toString()
toString in class Itempublic boolean equals(java.lang.Object source)
equals in class Itemsource - Object the source to comapre with
public int hashCode()
hashCode in class Item
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||