|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.prozima.pengine.UpdateMilestoneCommand
public class UpdateMilestoneCommand
Command modifies the state of a milestone.
| Constructor Summary | |
|---|---|
UpdateMilestoneCommand(int inProjectID,
int inScheduleID,
int inMilestoneID)
Create the command and set its state. |
|
| Method Summary | |
|---|---|
void |
addRelationship(Relationship.RelationshipType inRelType,
ScheduleNode.PredecessorType inPredType,
int inPredID)
Store a predecessor relationship for the schedule node. |
void |
removeRelationship(Relationship.RelationshipType inRelType,
int inPredID)
Remove a predecessor relationship for the ScheduleNode. |
void |
setConstraint(Constraint inConstraint)
Set the new constraint for this schedule node. |
void |
setName(java.lang.String inNewName)
Set a new name for the schedule node. |
void |
setSchedulingPref(ScheduleNode.Scheduling inPref)
Change the scheduling preference for the schedule node. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UpdateMilestoneCommand(int inProjectID,
int inScheduleID,
int inMilestoneID)
inProjectID - ID of the parent project of the milestone.inScheduleID - ID of the parent schedule of the milestone.inMilestoneID - ID of the milestone.| Method Detail |
|---|
public void addRelationship(Relationship.RelationshipType inRelType,
ScheduleNode.PredecessorType inPredType,
int inPredID)
inRelType - Type of Relationship. Cannot be null.inPredType - Type of schedule node of the predecessor. Cannot be null or ScheduleNode.PredecessorType.ALL.inPredID - ID of the predecessor schedule node.
public void removeRelationship(Relationship.RelationshipType inRelType,
int inPredID)
inRelType - The type of relationship to the predecessor.inPredID - The ID of the Predecessor.public void setConstraint(Constraint inConstraint)
inConstraint - A new constraint or null if removing an existing constraint.public void setName(java.lang.String inNewName)
inNewName - New name of the schedule node. Cannot be null.public void setSchedulingPref(ScheduleNode.Scheduling inPref)
inPref - New scheduling preference. Cannot be null.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||