@ThingworxExtensionApiClass(since={6,6}, canExtendOrImplement=true) public class Subsystem extends ExtensibleRootEntity
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEFAULT_AUTOSTART |
static boolean |
DEFAULT_ENABLED |
static java.lang.String |
METRICS_DATA_SHAPE |
BASIC_PROPERTIESNAME_COMPARATOR| Constructor and Description |
|---|
Subsystem() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDependsOn() |
RelationshipTypes.ThingworxRelationshipTypes |
getEntityType()
|
java.lang.String |
getFriendlyName() |
InfoTable |
GetPerformanceMetrics()
Service Category:
Service Description: Get information on how the subsystem is performing.
|
protected InfoTable |
getSubsystemPerformanceMetrics() |
SubsystemState |
getSubsystemState() |
java.lang.String |
GetSubsystemState()
Service Category: Monitoring
Service Description: Get the subscriber state.
|
protected void |
initializeSubsystem() |
boolean |
isAutoStart() |
boolean |
isEnabled() |
boolean |
isRunning() |
java.lang.Boolean |
IsRunning()
Service Category: Lifecycle
Service Description: Check the run status of this subsystem.
|
void |
ResetPerformanceMetrics()
Service Category:
Service Description: Get information on how the subsystem is performing.
|
protected void |
resetSubsystemPerformanceMetrics() |
void |
Restart()
Service Category: Lifecycle
Service Description: Stops and restarts the sub-system.
|
void |
setAutoStart(boolean autoStart) |
void |
setDependsOn(java.lang.String value) |
void |
setFriendlyName(java.lang.String value) |
void |
setRunning(boolean value) |
void |
Start()
Service Category: Lifecycle
Service Description: Starts the sub-system.
|
protected void |
startSubsystem() |
void |
Stop()
Service Category: Lifecycle
Service Description: Stops the sub-system.
|
protected void |
stopSubsystem() |
getInstancePublicServiceDefinitions, getInstanceServiceDefinition, getInstanceServiceDefinitions, initializeEntity, preInitializeEntity, processAPIServiceRequest, processServiceRequestAddConfigurationTableDefinition, addDesignTimePermission, AddDesignTimePermission, addRunTimePermission, AddRunTimePermission, AddTags, addVisibilityPermission, AddVisibilityPermission, CheckDesignTimePermission, CheckDesignTimePermissionForGroup, CheckDesignTimePermissionForUser, CheckPermission, CheckPermissionForGroup, CheckPermissionForUser, cleanupEntity, cleanupEntity, DeleteAllConfigurationTableRows, DeleteConfigurationTable, DeleteConfigurationTableRows, deleteDesignTimePermission, DeleteDesignTimePermission, deleteRunTimePermission, DeleteRunTimePermission, deleteVisibilityPermission, DeleteVisibilityPermission, dispose, getAspects, GetAvatar, getAvatarContent, GetAvatarURL, GetConfigurationChangeHistory, getConfigurationSetting, getConfigurationTable, GetConfigurationTable, GetConfigurationTableDefinition, GetConfigurationTableRow, GetConfigurationTables, GetDescription, getDesignTimePermissions, GetDesignTimePermissions, GetDesignTimePermissionsAsJSON, getDocumentationContent, getEntityTypeAsString, GetEventDefinition, GetEventDefinitions, GetHomeMashup, GetIncomingDependencies, GetIncomingDependenciesAsNetwork, GetInstanceMetadataAsJSON, GetInstanceMetadataWithPermissionsAsJSON, GetLastModifiedDate, GetMetadata, GetMetadataAsJSON, GetMetadataWithPermissionsAsJSON, GetOutgoingDependencies, GetOutgoingDependenciesAsNetwork, getOwner, GetPermissionsForCurrentUser, GetPermissionsForGroup, GetPermissionsForUser, GetProjectName, GetPropertyDefinition, GetPropertyDefinitions, getRunTimePermissions, GetRunTimePermissions, GetRunTimePermissionsAsJSON, GetServiceDefinition, GetServiceDefinitions, getStringConfigurationSetting, getStringConfigurationSettingWithDefault, GetSummaryInformation, getTags, GetTags, GetTagsAsInfoTable, getVisibilityPermissions, GetVisibilityPermissions, GetVisibilityPermissionsAsJSON, HasIncomingDependencies, HasOutgoingDependencies, isEditable, isEditableExtensionObject, isEditableSystemObject, isExtensionObject, IsMultiRowTable, isOwner, isSystemObject, isThemeObject, isVisible, isVisible, persistDesignTimePermissions, persistRunTimePermissions, persistVisibilityPermissions, RemoveTags, SaveConfigurationTables, SetAvatar, setConfigurationSetting, SetConfigurationTable, SetConfigurationTableRows, SetDescription, setDesignTimePermissions, SetDesignTimePermissionsAsJSON, setDocumentationContent, setExtensionObject, SetHomeMashup, setLastModifiedDate, SetMultiRowConfigurationTable, setOwner, SetOwner, SetProjectName, setRunTimePermissions, SetRunTimePermissionsAsJSON, setStringConfigurationSetting, SetTags, setVisibilityPermissions, SetVisibilityPermissionsAsJSON, toJSON, toJSONDefinition, validateConfigurationgetID, hasID, isTransientgetDescription, getName, setDescription, setName, toValueCollectionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetID, hasIDgetDescription, getNamegetID, getNamepublic static final java.lang.String METRICS_DATA_SHAPE
public static final boolean DEFAULT_ENABLED
public static final boolean DEFAULT_AUTOSTART
@ThingworxExtensionApiMethod(since={6,6}) public Subsystem()
@ThingworxExtensionApiMethod(since={6,6}) public boolean isEnabled()
@ThingworxExtensionApiMethod(since={6,6}) public java.lang.String getFriendlyName()
@ThingworxExtensionApiMethod(since={6,6}) public void setFriendlyName(java.lang.String value)
@ThingworxExtensionApiMethod(since={6,6}) public SubsystemState getSubsystemState()
@ThingworxExtensionApiMethod(since={6,6}, canOverride=true) protected void initializeSubsystem() throws java.lang.Exception
java.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}, canOverride=true) protected void startSubsystem() throws java.lang.Exception
java.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}, canOverride=true) protected void stopSubsystem() throws java.lang.Exception
java.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void Start() throws java.lang.Exception
java.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void Stop() throws java.lang.Exception
java.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public java.lang.Boolean IsRunning() throws java.lang.Exception
java.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void Restart() throws java.lang.Exception
java.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public java.lang.String GetSubsystemState() throws java.lang.Exception
java.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetPerformanceMetrics() throws java.lang.Exception
java.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void ResetPerformanceMetrics() throws java.lang.Exception
java.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}, canOverride=true) protected InfoTable getSubsystemPerformanceMetrics() throws java.lang.Exception
java.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}, canOverride=true) protected void resetSubsystemPerformanceMetrics()
@ThingworxExtensionApiMethod(since={6,6}) public boolean isRunning()
@ThingworxExtensionApiMethod(since={6,6}) public void setRunning(boolean value)
@ThingworxExtensionApiMethod(since={6,6}) public java.lang.String getDependsOn()
@ThingworxExtensionApiMethod(since={6,6}) public void setDependsOn(java.lang.String value)
@ThingworxExtensionApiMethod(since={6,6}) public boolean isAutoStart()
@ThingworxExtensionApiMethod(since={6,6}) public void setAutoStart(boolean autoStart)
@ThingworxExtensionApiMethod(since={6,6}) public RelationshipTypes.ThingworxRelationshipTypes getEntityType()
RootEntityReturns the type of this entity.
getEntityType in class RootEntity