com.prozima.pengine
Interface EventInterface


public interface EventInterface

Encapsulates an event which informs listeners about significant events in the operation of the PEngine. The type of event is identified by its ID, which can be queried by calling getID().


Nested Class Summary
static class EventInterface.ID
          Unique identifier which describes the type of PEngineEvent.
 
Method Summary
 Activity getActivity()
          Get activity information held by the event.
 EventInterface.ID getID()
          Get the event's type identifier.
 Milestone getMilestone()
          Get milestone information held by the event.
 Project getProject()
          Get project information held by the event.
 Resource getResource()
          Query resource information held by the event.
 Schedule getSchedule()
          Get schedule information held by the event.
 java.util.Date getTime()
          Get the date and time of event's creation.
 WBSComponent getWBSComponent()
          Get WBS component information held by the event.
 

Method Detail

getActivity

Activity getActivity()
Get activity information held by the event.

Returns:
Activity describing an activity or null.

getID

EventInterface.ID getID()
Get the event's type identifier. Multiple events may exist with the same ID.

Returns:
Enumeration which identifies the type/cause of the event.

getMilestone

Milestone getMilestone()
Get milestone information held by the event.

Returns:
Milestone describing a milestone or null.

getProject

Project getProject()
Get project information held by the event.

Returns:
Project describing a project or null.

getResource

Resource getResource()
Query resource information held by the event.

Returns:
Resource or null if no information held.

getSchedule

Schedule getSchedule()
Get schedule information held by the event.

Returns:
Schedule describing a schedule or null.

getTime

java.util.Date getTime()
Get the date and time of event's creation.

Returns:
Date with time of event's creation.

getWBSComponent

WBSComponent getWBSComponent()
Get WBS component information held by the event.

Returns:
WBSComponent describing a WBS component or null.