public class ModuleMetadata extends java.lang.Object implements java.lang.Comparable<ModuleMetadata>
Modifier and Type | Class and Description |
---|---|
static class |
ModuleMetadata.Id
Identity object for instances of
ModuleMetadata . |
Constructor and Description |
---|
ModuleMetadata(ModuleMetadata.Id id,
java.util.Properties moduleOptions,
java.util.Properties deploymentProperties,
DeploymentUnitStatus.State deploymentStatus)
Construct a ModuleMetadata instance.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ModuleMetadata other) |
java.lang.String |
getContainerId() |
java.util.Properties |
getDeploymentProperties()
Return the module options configured at deployment time.
|
DeploymentUnitStatus.State |
getDeploymentStatus()
Return the state of the deployment unit this module instance belongs to.
|
java.lang.String |
getLabel() |
java.util.Properties |
getModuleOptions()
Return the module options configured during stream/job creation.
|
ModuleType |
getModuleType() |
java.lang.String |
getName()
Return the name for the module instance this metadata object is tracking.
|
java.lang.String |
getQualifiedId() |
java.lang.String |
getUnitName() |
public ModuleMetadata(ModuleMetadata.Id id, java.util.Properties moduleOptions, java.util.Properties deploymentProperties, DeploymentUnitStatus.State deploymentStatus)
id
- unique identifier for module metadatamoduleOptions
- options for this module configured during stream/job creationdeploymentProperties
- options for this module configured at deployment timedeploymentStatus
- status for deployment unit this module is part ofpublic java.lang.String getQualifiedId()
public java.lang.String getName()
public java.lang.String getLabel()
ModuleMetadata.Id.getModuleLabel()
public java.lang.String getUnitName()
ModuleMetadata.Id.getUnitName()
public ModuleType getModuleType()
ModuleMetadata.Id.getModuleType()
public java.lang.String getContainerId()
ModuleMetadata.Id.getContainerId()
public java.util.Properties getModuleOptions()
public java.util.Properties getDeploymentProperties()
public DeploymentUnitStatus.State getDeploymentStatus()
public int compareTo(ModuleMetadata other)
compareTo
in interface java.lang.Comparable<ModuleMetadata>