Package jadex.bridge.service.types.cms
Class CMSStatusEvent
- java.lang.Object
-
- jadex.bridge.service.types.cms.CMSStatusEvent
-
- Direct Known Subclasses:
CMSStatusEvent.CMSCreatedEvent
,CMSStatusEvent.CMSIntermediateResultEvent
,CMSStatusEvent.CMSTerminatedEvent
public class CMSStatusEvent extends java.lang.Object
Base change event. If used w/o subclass denotes change in description.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CMSStatusEvent.CMSCreatedEvent
Status event for a newly created component.static class
CMSStatusEvent.CMSIntermediateResultEvent
Status event for an intermediate result of a component.static class
CMSStatusEvent.CMSTerminatedEvent
Final event of a finished component, including all results.
-
Field Summary
Fields Modifier and Type Field Description protected IComponentDescription
desc
The component description.
-
Constructor Summary
Constructors Constructor Description CMSStatusEvent()
Create a new CMSStatusEvent.CMSStatusEvent(IComponentDescription desc)
Create a new CMSStatusEvent.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IComponentDescription
getComponentDescription()
Get the component description.IComponentIdentifier
getComponentIdentifier()
Get the componentIdentifier.java.lang.String
getType()
Get and set type are introduced to get the type explicitly (e.g.void
setComponentDescription(IComponentDescription desc)
Set the component description.void
setType(java.lang.String type)
java.lang.String
toString()
Get the string representation.
-
-
-
Field Detail
-
desc
protected IComponentDescription desc
The component description.
-
-
Constructor Detail
-
CMSStatusEvent
public CMSStatusEvent()
Create a new CMSStatusEvent.
-
CMSStatusEvent
public CMSStatusEvent(IComponentDescription desc)
Create a new CMSStatusEvent.
-
-
Method Detail
-
getComponentIdentifier
public IComponentIdentifier getComponentIdentifier()
Get the componentIdentifier.- Returns:
- The componentIdentifier.
-
getComponentDescription
public IComponentDescription getComponentDescription()
Get the component description.- Returns:
- The description.
-
setComponentDescription
public void setComponentDescription(IComponentDescription desc)
Set the component description.- Parameters:
desc
- The component description to set.
-
getType
public java.lang.String getType()
Get and set type are introduced to get the type explicitly (e.g. in json classname vanishes). Get the event type- Returns:
- The event type.
-
setType
public void setType(java.lang.String type)
- Parameters:
type
- the type to set
-
toString
public java.lang.String toString()
Get the string representation.- Overrides:
toString
in classjava.lang.Object
-
-