Package jadex.bridge.service.types.cms
Interface IComponentDescription
-
- All Known Implementing Classes:
CMSComponentDescription
public interface IComponentDescriptionA description of a component, i.e. information about the execution state, component type, etc.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringSTATE_ACTIVEPredefined value "active" for slot state.static java.lang.StringSTATE_SUSPENDEDPredefined value "suspended" for slot state.static java.lang.StringSTATE_TERMINATEDPredefined value "terminated" for slot state.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String[]getBreakpoints()Get the enabled breakpoints (if any).longgetCreationTime()Get the creation time.IComponentIdentifiergetCreator()Get the creator of this component.java.lang.StringgetFilename()Get the file name.java.lang.StringgetLocalType()Get the local type name of a component (defined in the parent).java.lang.StringgetModelName()Get the model name.IMonitoringService.PublishEventLevelgetMonitoring()Get the monitoring flag.IComponentIdentifiergetName()Get the identifier of the component.java.lang.StringgetOwnership()Get the ownership string of the component.IResourceIdentifiergetResourceIdentifier()Get the resource identifier.java.lang.StringgetState()Get the execution state of the component.java.lang.StringgetType()Get the component type.booleanisSynchronous()Get the synchronous flag.booleanisSystemComponent()Test if it is a system component.
-
-
-
Field Detail
-
STATE_ACTIVE
static final java.lang.String STATE_ACTIVE
Predefined value "active" for slot state.- See Also:
- Constant Field Values
-
STATE_SUSPENDED
static final java.lang.String STATE_SUSPENDED
Predefined value "suspended" for slot state.- See Also:
- Constant Field Values
-
STATE_TERMINATED
static final java.lang.String STATE_TERMINATED
Predefined value "terminated" for slot state.- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
IComponentIdentifier getName()
Get the identifier of the component.- Returns:
- The component identifier.
-
getModelName
java.lang.String getModelName()
Get the model name.- Returns:
- The model name.
-
getFilename
java.lang.String getFilename()
Get the file name.- Returns:
- The file name.
-
getResourceIdentifier
IResourceIdentifier getResourceIdentifier()
Get the resource identifier.- Returns:
- The resource identifier.
-
getOwnership
java.lang.String getOwnership()
Get the ownership string of the component.- Returns:
- The ownership string.
-
getType
java.lang.String getType()
Get the component type.- Returns:
- The component type name (e.g. 'BDI Agent').
-
getState
java.lang.String getState()
Get the execution state of the component. E.g. active or suspended.- Returns:
- The state.
-
getCreationTime
long getCreationTime()
Get the creation time.- Returns:
- The creation time.
-
getCreator
IComponentIdentifier getCreator()
Get the creator of this component. (parent in case of child or external in case of top-level component).
-
getBreakpoints
java.lang.String[] getBreakpoints()
Get the enabled breakpoints (if any).- Returns:
- The enabled breakpoints.
-
isSynchronous
boolean isSynchronous()
Get the synchronous flag.- Returns:
- The synchronous flag.
-
getMonitoring
IMonitoringService.PublishEventLevel getMonitoring()
Get the monitoring flag.- Returns:
- The monitoring flag.
-
getLocalType
java.lang.String getLocalType()
Get the local type name of a component (defined in the parent).- Returns:
- The local type.
-
isSystemComponent
boolean isSystemComponent()
Test if it is a system component.- Returns:
- True, if it is a system component.
-
-