public static class ModuleMetadata.Id extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<ModuleMetadata.Id>
ModuleMetadata
.Constructor and Description |
---|
ModuleMetadata.Id(java.lang.String containerId,
java.lang.String fullyQualifiedId)
Construct a
ModuleMetadata id. |
ModuleMetadata.Id(java.lang.String containerId,
java.lang.String unitName,
ModuleType moduleType,
java.lang.String moduleLabel,
int index)
Construct a
ModuleMetadata id. |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ModuleMetadata.Id that) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getContainerId()
Return the id for the container the module instance is deployed to.
|
java.lang.String |
getFullyQualifiedId()
Return the "fully qualified" id string for the module instance
this metadata object is tracking.
|
int |
getIndex()
Return the position in stream/job definition relative to other modules
in the deployment unit.
|
java.lang.String |
getModuleLabel()
Return the label for the module instance this metadata object is tracking.
|
ModuleType |
getModuleType()
Return the module type for the module instance this metadata object is tracking.
|
java.lang.String |
getUnitName()
Return the deployment unit name (stream or job) for the module instance
this metadata object is tracking.
|
int |
hashCode() |
java.lang.String |
toString() |
public ModuleMetadata.Id(java.lang.String containerId, java.lang.String unitName, ModuleType moduleType, java.lang.String moduleLabel, int index)
ModuleMetadata
id.containerId
- id of container the module is deployed tounitName
- name of deployment unit the module instance belongs tomoduleType
- type of modulemoduleLabel
- module labelindex
- index of module in deployment unitpublic ModuleMetadata.Id(java.lang.String containerId, java.lang.String fullyQualifiedId)
ModuleMetadata
id.containerId
- id of container the module is deployed tofullyQualifiedId
- "fully qualified" id string for module instancegetFullyQualifiedId()
public java.lang.String getContainerId()
public java.lang.String getUnitName()
public ModuleType getModuleType()
public java.lang.String getModuleLabel()
public int getIndex()
public java.lang.String getFullyQualifiedId()
public int compareTo(ModuleMetadata.Id that)
compareTo
in interface java.lang.Comparable<ModuleMetadata.Id>
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object