|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.TypedResource
com.starteam.LiveObject
com.starteam.TrackedObject
com.starteam.TaskDependency
public final class TaskDependency
This is a class representing a dependency between two tasks.
| Nested Class Summary | |
|---|---|
static class |
TaskDependency.PredecessorType
Task Predecessor type |
static class |
TaskDependency.Type
The Type of TaskDependency. |
static class |
TaskDependency.WebCacheTaskDependency
Item accessor for cached SDK Task Dependencies contained objects are obtained from the artifact cache |
| Nested classes/interfaces inherited from class com.starteam.TrackedObject |
|---|
TrackedObject.WebCacheTrackedObject |
| Nested classes/interfaces inherited from class com.starteam.LiveObject |
|---|
LiveObject.WebCacheLiveObject |
| Nested classes/interfaces inherited from class com.starteam.TypedResource |
|---|
TypedResource.BranchState |
| Method Summary | |
|---|---|
TaskDependency |
copy()
Creates a copy of this task dependency object. |
boolean |
equals(java.lang.Object another)
Returns true if the other object represents the same task dependency |
int |
getID()
Returns the integer identifier for this task dependency. |
int |
getLagTime()
Returns the lag time for this task dependency. |
int |
getPredecessorID()
Returns the ObjectID of the predecessor Task. |
TaskDependency.PredecessorType |
getPredecessorType()
Returns the PredecessorType of this task dependency. |
TaskDependency.Type.PropertyCollection |
getProperties()
Gets the PropertyCollection for this Task dependency |
int |
getTaskID()
Returns the ObjectID of the successor Task. |
boolean |
isDirty()
Returns true if this task dependency has been modified but not yet saved. |
void |
setLagTime(int lagTime)
Sets the lag time for this task dependency. |
void |
setPredecessorType(TaskDependency.PredecessorType type)
Sets the PredecessorType of this task dependency. |
java.lang.Object |
setValue(Property property,
java.lang.Object value)
Sets the value of the specified property and return the old value. |
| Methods inherited from class com.starteam.TrackedObject |
|---|
getModifiedBy, getModifiedTime |
| Methods inherited from class com.starteam.LiveObject |
|---|
getCreatedBy, getCreatedTime, toStarTeamURL |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public TaskDependency.Type.PropertyCollection getProperties()
public int getTaskID()
public int getID()
getID in class TypedResourcepublic int getPredecessorID()
TaskDependency.Type.PredecessorProperty.NAMEpublic int getLagTime()
TaskDependency.Type.LagTimeProperty.NAMEpublic void setLagTime(int lagTime)
lagTime - the lag time for this dependency.TaskDependency.Type.LagTimeProperty.NAMEpublic TaskDependency.PredecessorType getPredecessorType()
TaskDependency.Type.PredecessorProperty.NAMEpublic void setPredecessorType(TaskDependency.PredecessorType type)
type - the new PredecessorType for this task dependency.
public java.lang.Object setValue(Property property,
java.lang.Object value)
throws NoSuchPropertyException,
java.lang.ClassCastException
setValue in class TypedResourceproperty - the property to setvalue - the new value to set for the specified property
NoSuchPropertyException - if the named property does not exist
java.lang.ClassCastException - if the value is of the wrong type for the specified propertypublic boolean isDirty()
Task object.
isDirty in class TypedResourceTask.update()public TaskDependency copy()
TypedResource.isEqualTo(com.starteam.TypedResource)public boolean equals(java.lang.Object another)
equals in class java.lang.Objectanother - the object to be compared with
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||