Package jadex.bridge.service.types.cms
Class CMSStatusEvent.CMSTerminatedEvent
- java.lang.Object
-
- jadex.bridge.service.types.cms.CMSStatusEvent
-
- jadex.bridge.service.types.cms.CMSStatusEvent.CMSTerminatedEvent
-
- Enclosing class:
- CMSStatusEvent
public static class CMSStatusEvent.CMSTerminatedEvent extends CMSStatusEvent
Final event of a finished component, including all results.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jadex.bridge.service.types.cms.CMSStatusEvent
CMSStatusEvent.CMSCreatedEvent, CMSStatusEvent.CMSIntermediateResultEvent, CMSStatusEvent.CMSTerminatedEvent
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Exception
exception
Component exception if component failedprotected java.util.Map<java.lang.String,java.lang.Object>
results
The component results.-
Fields inherited from class jadex.bridge.service.types.cms.CMSStatusEvent
desc
-
-
Constructor Summary
Constructors Constructor Description CMSTerminatedEvent()
Create a new CMSCreatedEvent.CMSTerminatedEvent(IComponentDescription desc, java.util.Map<java.lang.String,java.lang.Object> results, java.lang.Exception exception)
Create a new CMSCreatedEvent.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Exception
getException()
Get the component exception if error occurred.java.util.Map<java.lang.String,java.lang.Object>
getResults()
Get the results.void
setException(java.lang.Exception exception)
Set the component exception if error occurred.void
setResults(java.util.Map<java.lang.String,java.lang.Object> results)
Set the results.-
Methods inherited from class jadex.bridge.service.types.cms.CMSStatusEvent
getComponentDescription, getComponentIdentifier, getType, setComponentDescription, setType, toString
-
-
-
-
Constructor Detail
-
CMSTerminatedEvent
public CMSTerminatedEvent()
Create a new CMSCreatedEvent.
-
CMSTerminatedEvent
public CMSTerminatedEvent(IComponentDescription desc, java.util.Map<java.lang.String,java.lang.Object> results, java.lang.Exception exception)
Create a new CMSCreatedEvent.
-
-
Method Detail
-
getResults
public java.util.Map<java.lang.String,java.lang.Object> getResults()
Get the results.- Returns:
- The results.
-
setResults
public void setResults(java.util.Map<java.lang.String,java.lang.Object> results)
Set the results.- Parameters:
results
- The results to set.
-
getException
public java.lang.Exception getException()
Get the component exception if error occurred.- Returns:
- The exception or null if no error.
-
setException
public void setException(java.lang.Exception exception)
Set the component exception if error occurred.- Parameters:
exception
- The exception or null if no error.
-
-