com.prozima.pengine
Enum EventInterface.ID

java.lang.Object
  extended by java.lang.Enum<EventInterface.ID>
      extended by com.prozima.pengine.EventInterface.ID
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EventInterface.ID>
Enclosing interface:
EventInterface

public static enum EventInterface.ID
extends java.lang.Enum<EventInterface.ID>

Unique identifier which describes the type of PEngineEvent.


Enum Constant Summary
CALCULATION_FINISHED
          Notifies the listener that the PEngine has finished all intensive calculations.
CALCULATION_STARTED
          Notifies the listener that the PEngine has started intensive calculations.
ERROR_ADD_SCHEDULED_WORK
          Error while adding scheduled work to a schedule.
ERROR_ADD_WORK_BASELINE
          Attempted to add work to a baseline schedule.
ERROR_ADD_WORK_UNKNOWN
          Unknown cause of error when adding work.
ERROR_COMMAND_WORKER_THREAD
          Execution of command on worker thread failed.
ERROR_DELETE_ACTIVITY_WITH_FINISHED_WORK
          Activity cannot be deleted as it has Finished Work.
ERROR_DELETE_PROJECT_WITH_SCHEDULES
          Project cannot be deleted as it has one or more schedules.
ERROR_DELETE_SCHEDULE_WITH_NODES
          Schedule cannot be deleted as it has one or mode schedule nodes.
ERROR_FUTURE_BASELINE
          Attempted to add future scheduled work to a baseline schedule.
ERROR_INTERNAL_ERROR_001
          Internal error in PEngine
ERROR_MAX_NUM_PROJECTS_LIMIT
          No more projects can be created as licensed limit has been reached.
ERROR_MAX_NUM_RESOURCES_LIMIT
          No more resources can be created as licensed limit has been reached.
ERROR_MAX_NUM_SCHEDULES_LIMIT
          No more schedules can be created as licensed limit has been reached.
ERROR_MAX_NUM_WBS_LIMIT
          No more WBS Components can be created as licensed limit has been reached.
ERROR_SCHEDULE_NODE_ID_OVERFLOW
          No more available IDs to assign to new schedule nodes.
ERROR_UNRECOGNISED_COMMAND
          Object passed to PEngine.invoke(Command) is not a known sub-class of Command.
ERROR_WBS_COMP_ID_OVERFLOW
          No more available IDs to assign to new WBS components.
ERROR_WBS_COMP_NAME_LEN
          Name of WBS component is too short.
PROJECT_ADDED
          Fired when a Project was added.
PROJECT_REMOVED
          Fired when a Project was removed.
PROJECT_STATE_CHANGE
          Fired when a project's state changes.
PROJECT_TIMETABLE_CHANGE
          Fired when a project's timetable changes.
RESOURCE_ADDED
          Fired when a Resource is added.
RESOURCE_CHANGED
          Fired when a Resource has changed state.
RESOURCE_REMOVED
          Fired when a Resource is removed.
SCHEDULE_ADDED
          Fired when a schedule is added to a Project.
SCHEDULE_NODE_ADDED
          Fired when a schedule node is added to a schedule.
SCHEDULE_NODE_CHANGED
          Fired when a schedule node's state changes.
SCHEDULE_NODE_REMOVED
          Fired when a schedule node is removed from a Schedule.
SCHEDULE_REMOVED
          Fired when a Schedule is removed from a Project.
SCHEDULE_STATE_CHANGE
          Fired when a schedule's state changes.
SCHEDULED_DATES_CHANGED
          Fired when Scheduled dates for a schedule node are changed.
WARNING_INSUFFICIENT_PROJECT_TIME
          Insufficient time available in a project's calendar to schedule all required work.
WARNING_INSUFFICIENT_RESOURCE_TIME
          Insufficient time available in one or more resources' calendars to schedule all required work.
WARNING_PREDECESSOR_NOT_SCHEDULED
          Unscheduled predecessor does not allow schedule node to be assigned start or finish dates.
WBSCOMPONENT_ADDED
          Fired when a WBS Component is added to a Project.
WBSCOMPONENT_CHANGE
          Fired when the number of WBS Components for a project changes.
WBSCOMPONENT_REMOVED
          Fired when a WBS Component is removed from a Project.
WORK_CHANGED
          Fired when Work is added, removed or modified.
 
Method Summary
static EventInterface.ID valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EventInterface.ID[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CALCULATION_FINISHED

public static final EventInterface.ID CALCULATION_FINISHED
Notifies the listener that the PEngine has finished all intensive calculations.


CALCULATION_STARTED

public static final EventInterface.ID CALCULATION_STARTED
Notifies the listener that the PEngine has started intensive calculations. May be useful if required to provide feedback to the user during computationally intensive tasks.


ERROR_ADD_SCHEDULED_WORK

public static final EventInterface.ID ERROR_ADD_SCHEDULED_WORK
Error while adding scheduled work to a schedule.


ERROR_ADD_WORK_BASELINE

public static final EventInterface.ID ERROR_ADD_WORK_BASELINE
Attempted to add work to a baseline schedule.


ERROR_ADD_WORK_UNKNOWN

public static final EventInterface.ID ERROR_ADD_WORK_UNKNOWN
Unknown cause of error when adding work.


ERROR_COMMAND_WORKER_THREAD

public static final EventInterface.ID ERROR_COMMAND_WORKER_THREAD
Execution of command on worker thread failed.


ERROR_DELETE_ACTIVITY_WITH_FINISHED_WORK

public static final EventInterface.ID ERROR_DELETE_ACTIVITY_WITH_FINISHED_WORK
Activity cannot be deleted as it has Finished Work. Event contains Activity describing the activity which could not be deleted.

See Also:
EventInterface.getActivity()

ERROR_DELETE_PROJECT_WITH_SCHEDULES

public static final EventInterface.ID ERROR_DELETE_PROJECT_WITH_SCHEDULES
Project cannot be deleted as it has one or more schedules. Event contains Project describing the project which could not be deleted.

See Also:
EventInterface.getProject()

ERROR_DELETE_SCHEDULE_WITH_NODES

public static final EventInterface.ID ERROR_DELETE_SCHEDULE_WITH_NODES
Schedule cannot be deleted as it has one or mode schedule nodes. Event contains Schedule describing the schedule which could not be deleted.

See Also:
EventInterface.getActivity()

ERROR_FUTURE_BASELINE

public static final EventInterface.ID ERROR_FUTURE_BASELINE
Attempted to add future scheduled work to a baseline schedule.


ERROR_INTERNAL_ERROR_001

public static final EventInterface.ID ERROR_INTERNAL_ERROR_001
Internal error in PEngine


ERROR_MAX_NUM_PROJECTS_LIMIT

public static final EventInterface.ID ERROR_MAX_NUM_PROJECTS_LIMIT
No more projects can be created as licensed limit has been reached.


ERROR_MAX_NUM_RESOURCES_LIMIT

public static final EventInterface.ID ERROR_MAX_NUM_RESOURCES_LIMIT
No more resources can be created as licensed limit has been reached.


ERROR_MAX_NUM_SCHEDULES_LIMIT

public static final EventInterface.ID ERROR_MAX_NUM_SCHEDULES_LIMIT
No more schedules can be created as licensed limit has been reached.


ERROR_MAX_NUM_WBS_LIMIT

public static final EventInterface.ID ERROR_MAX_NUM_WBS_LIMIT
No more WBS Components can be created as licensed limit has been reached.


ERROR_SCHEDULE_NODE_ID_OVERFLOW

public static final EventInterface.ID ERROR_SCHEDULE_NODE_ID_OVERFLOW
No more available IDs to assign to new schedule nodes.


ERROR_UNRECOGNISED_COMMAND

public static final EventInterface.ID ERROR_UNRECOGNISED_COMMAND
Object passed to PEngine.invoke(Command) is not a known sub-class of Command.


ERROR_WBS_COMP_ID_OVERFLOW

public static final EventInterface.ID ERROR_WBS_COMP_ID_OVERFLOW
No more available IDs to assign to new WBS components.


ERROR_WBS_COMP_NAME_LEN

public static final EventInterface.ID ERROR_WBS_COMP_NAME_LEN
Name of WBS component is too short.


PROJECT_ADDED

public static final EventInterface.ID PROJECT_ADDED
Fired when a Project was added. Event contains a Project object describing the project that was added.

See Also:
EventInterface.getProject()

PROJECT_REMOVED

public static final EventInterface.ID PROJECT_REMOVED
Fired when a Project was removed. Event contains a Project object describing the project that was removed.

See Also:
EventInterface.getProject()

PROJECT_STATE_CHANGE

public static final EventInterface.ID PROJECT_STATE_CHANGE
Fired when a project's state changes. Event contains a Project object describing the project which has changed.

See Also:
EventInterface.getProject()

PROJECT_TIMETABLE_CHANGE

public static final EventInterface.ID PROJECT_TIMETABLE_CHANGE
Fired when a project's timetable changes. Event contains a Project object describing the project whose timetable changed.

See Also:
EventInterface.getProject()

RESOURCE_ADDED

public static final EventInterface.ID RESOURCE_ADDED
Fired when a Resource is added. Event contains Resource describing the added resource.

See Also:
EventInterface.getResource()

RESOURCE_CHANGED

public static final EventInterface.ID RESOURCE_CHANGED
Fired when a Resource has changed state. Event contains Resource describing the modified resource.

See Also:
EventInterface.getResource()

RESOURCE_REMOVED

public static final EventInterface.ID RESOURCE_REMOVED
Fired when a Resource is removed. Event contains Resource describing the removed resource.

See Also:
EventInterface.getResource()

SCHEDULE_ADDED

public static final EventInterface.ID SCHEDULE_ADDED
Fired when a schedule is added to a Project. Event contains a Schedule object describing the added schedule.

See Also:
EventInterface.getSchedule()

SCHEDULE_NODE_ADDED

public static final EventInterface.ID SCHEDULE_NODE_ADDED
Fired when a schedule node is added to a schedule. Event contains ScheduleNode describing the new ScheduleNode.

See Also:
EventInterface.getActivity(), EventInterface.getMilestone()

SCHEDULE_NODE_CHANGED

public static final EventInterface.ID SCHEDULE_NODE_CHANGED
Fired when a schedule node's state changes. Event contains a ScheduleNode object describing the schedule node that changed.

See Also:
EventInterface.getActivity(), EventInterface.getMilestone()

SCHEDULE_NODE_REMOVED

public static final EventInterface.ID SCHEDULE_NODE_REMOVED
Fired when a schedule node is removed from a Schedule. Event contains a ScheduleNode describing the removed ScheduleNode.

See Also:
EventInterface.getActivity(), EventInterface.getMilestone()

SCHEDULE_REMOVED

public static final EventInterface.ID SCHEDULE_REMOVED
Fired when a Schedule is removed from a Project. Event contains a Schedule describing the removed schedule.

See Also:
EventInterface.getSchedule()

SCHEDULE_STATE_CHANGE

public static final EventInterface.ID SCHEDULE_STATE_CHANGE
Fired when a schedule's state changes. Event contains a Schedule object describing the Schedule that changed.

See Also:
EventInterface.getSchedule()

SCHEDULED_DATES_CHANGED

public static final EventInterface.ID SCHEDULED_DATES_CHANGED
Fired when Scheduled dates for a schedule node are changed. Event contains ScheduleNode describing the node which was modified and Project describing the modified project.

See Also:
EventInterface.getActivity(), EventInterface.getMilestone(), EventInterface.getProject()

WARNING_INSUFFICIENT_PROJECT_TIME

public static final EventInterface.ID WARNING_INSUFFICIENT_PROJECT_TIME
Insufficient time available in a project's calendar to schedule all required work. Note: Current implementation does not send this event.


WARNING_INSUFFICIENT_RESOURCE_TIME

public static final EventInterface.ID WARNING_INSUFFICIENT_RESOURCE_TIME
Insufficient time available in one or more resources' calendars to schedule all required work.


WARNING_PREDECESSOR_NOT_SCHEDULED

public static final EventInterface.ID WARNING_PREDECESSOR_NOT_SCHEDULED
Unscheduled predecessor does not allow schedule node to be assigned start or finish dates.


WBSCOMPONENT_ADDED

public static final EventInterface.ID WBSCOMPONENT_ADDED
Fired when a WBS Component is added to a Project. Event contains a WBSComponent describing the added component.

See Also:
EventInterface.getWBSComponent()

WBSCOMPONENT_CHANGE

public static final EventInterface.ID WBSCOMPONENT_CHANGE
Fired when the number of WBS Components for a project changes. Event contains a WBSComponent describing the WBS component which has changed.

See Also:
EventInterface.getWBSComponent()

WBSCOMPONENT_REMOVED

public static final EventInterface.ID WBSCOMPONENT_REMOVED
Fired when a WBS Component is removed from a Project. Event contains a WBSComponent describing the removed component.

See Also:
EventInterface.getWBSComponent()

WORK_CHANGED

public static final EventInterface.ID WORK_CHANGED
Fired when Work is added, removed or modified. Event contains Activity describing which activity the work was modified for, unless work was removed for a schedule then no Activity is present. Event also contains Project describing which project had its work modified.

See Also:
EventInterface.getActivity(), EventInterface.getProject()
Method Detail

valueOf

public static EventInterface.ID valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

values

public static EventInterface.ID[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (EventInterface.ID c : EventInterface.ID.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared