|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.prozima.pengine.EventSender
com.prozima.pengine.PEngine
public class PEngine
PEngine provides a static, singleton instance of the Prozima Planning Engine. The
state of the Planning Engine is modified by executing commands using the method
invoke(Command). These commands are then executed and the new
state of the Planning Engine can be queried.
| Method Summary | |
|---|---|
java.util.Map<java.lang.Integer,NodeDates> |
getAllNodeDates(int inProjectID,
int inScheduleID)
Retrieve a description of all the scheduled dates for all the schedule nodes of a specific Schedule. |
java.util.Set<Project> |
getAllProjects()
Retrieve a set of Projects which describes all of the projects which are currently held by PEngine. |
java.util.Set<Resource> |
getAllResources()
Retrieves a description of all existing resources. |
java.util.Set<Work> |
getFinishedWork(int inProjectID,
int inNodeID)
Retrieve all of the finished work for a specific schedule node of a project. |
java.util.Set<Work> |
getFinishedWork(int inProjectID,
int inNodeID,
int inResourceID)
Retrieve all of the finished work for a specific schedule node of a project. |
static PEngine |
getInstance()
Get the singleton instance of PEngine. |
NodeDates |
getNodeDates(int inProjectID,
int inNodeID)
Retrieve a description of the scheduled dates for a specific schedule node. |
Project |
getProject(int inProjectID)
Retrieve information which describes a specific project. |
Resource |
getResource(int inResourceID)
Retrieve the description of a specific resource. |
java.util.Set<Work> |
getScheduledWork(int inProjectID,
int inNodeID)
Retrieve all the scheduled future work for a specific schedule node of a project. |
java.util.Set<Work> |
getScheduledWork(int inProjectID,
int inNodeID,
int inResourceID)
Retrieve all the scheduled work for a specific schedule node of a project. |
Schedule |
getScheduleInfo(int inProjectID,
int inScheduleID)
Retrieves the description of a specific schedule. |
ScheduleNode |
getScheduleNode(int inProjectID,
int inNodeID)
Retrieve a description of a specific schedule node. |
java.util.Set<ScheduleNode> |
getScheduleNodes(int inProjectID,
int inScheduleID)
Retrieve the descriptions of all the schedule nodes belonging to a specific schedule. |
java.util.Set<Schedule> |
getSchedules(int inProjectID)
Retrieves descriptions of all the schedules belonging to a specific project. |
java.util.Set<WBSComponent> |
getWBSComponents(int inProjectID)
Retrieve all the Work Breakdown Structure components for a specific project. |
boolean |
invoke(Command inCommand)
Execute a command that will manipulate the state of the PEngine. |
| Methods inherited from class com.prozima.pengine.EventSender |
|---|
addListener, addListener, removeListener, removeListener |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public java.util.Map<java.lang.Integer,NodeDates> getAllNodeDates(int inProjectID,
int inScheduleID)
inProjectID - ID of the Project being queried.inScheduleID - ID of the Schedule being queried.
public java.util.Set<Project> getAllProjects()
public java.util.Set<Resource> getAllResources()
public java.util.Set<Work> getFinishedWork(int inProjectID,
int inNodeID)
inProjectID - ID of the Project being queried.inNodeID - ID of the ScheduleNode being queried.
public java.util.Set<Work> getFinishedWork(int inProjectID,
int inNodeID,
int inResourceID)
inProjectID - ID of the Project being queried.inNodeID - ID of the ScheduleNode being queried.inResourceID - ID of the Resource.
public static PEngine getInstance()
public NodeDates getNodeDates(int inProjectID,
int inNodeID)
inProjectID - ID of the Project being queried.inNodeID - ID of the Schedule Node.
public Project getProject(int inProjectID)
public Resource getResource(int inResourceID)
public java.util.Set<Work> getScheduledWork(int inProjectID,
int inNodeID)
inProjectID - ID of the Project being queried.inNodeID - ID of the schedule node being queried.
public java.util.Set<Work> getScheduledWork(int inProjectID,
int inNodeID,
int inResourceID)
inProjectID - ID of the Project being queried.inNodeID - ID of the schedule node being queried.inResourceID - ID of a resource.
public Schedule getScheduleInfo(int inProjectID,
int inScheduleID)
inProjectID - ID of the project which contains the schedule.inScheduleID - ID of the Schedule.
public ScheduleNode getScheduleNode(int inProjectID,
int inNodeID)
inProjectID - ID of the project being queried.inNodeID - ID of the schedule node to be retrieved.
public java.util.Set<ScheduleNode> getScheduleNodes(int inProjectID,
int inScheduleID)
inProjectID - ID of the project being queried.inScheduleID - ID of the schedule being queried.
public java.util.Set<Schedule> getSchedules(int inProjectID)
inProjectID - ID of the project whose schedules will be listed.
public java.util.Set<WBSComponent> getWBSComponents(int inProjectID)
public boolean invoke(Command inCommand)
inCommand - Command describing a change or changes to the state of PEngine. null should
not be passed as a parameter.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||