com.prozima.pengine
Class CreateMilestoneCommand

java.lang.Object
  extended by com.prozima.pengine.CreateMilestoneCommand
All Implemented Interfaces:
Command

public class CreateMilestoneCommand
extends java.lang.Object
implements Command

Creates a new milestone and adds it to a schedule.


Constructor Summary
CreateMilestoneCommand(Milestone inMilestone)
          Create a new milestone and set its state.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateMilestoneCommand

public CreateMilestoneCommand(Milestone inMilestone)
Create a new milestone and set its state. inMilestone should not have an assigned ID if the milestone is being created for the first time. Only assign an ID to inMilestone if the state of the milestone is being restored from persistent storage.

Parameters:
inMilestone - Milestone describing the new milestone. null is not a valid value.