public class ModuleDeploymentRequestsPath
extends java.lang.Object
Paths.REQUESTED
. ModuleDeploymentRequestsPath
represents all the requested modules upon deployment.Constructor and Description |
---|
ModuleDeploymentRequestsPath()
Construct a
ModuleDeploymentRequestsPath . |
ModuleDeploymentRequestsPath(java.lang.String path)
Construct a
ModuleDeploymentRequestsPath . |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
build()
Build the path string using the field values.
|
java.lang.String |
getDeploymentUnitName()
Return the deployment unit name.
|
java.lang.String |
getModuleInstanceAsString()
Return the string representation of the module instance that has the following dot limited
values.
|
java.lang.String |
getModuleLabel()
Return the module label.
|
java.lang.String |
getModuleSequence()
Return the module sequence.
|
static java.util.List<ModuleDeploymentRequestsPath> |
getModulesForDeploymentUnit(java.util.Collection<ModuleDeploymentRequestsPath> requestedModulesPaths,
java.lang.String unitName)
Return all the modules for a given deployment unit name.
|
java.lang.String |
getModuleType()
Return the module type.
|
ModuleDeploymentRequestsPath |
setDeploymentUnitName(java.lang.String deploymentUnitName)
Set the deployment unit name.
|
ModuleDeploymentRequestsPath |
setModuleLabel(java.lang.String moduleLabel)
Set the module label.
|
ModuleDeploymentRequestsPath |
setModuleSequence(java.lang.String moduleSequence)
Set the module sequence.
|
ModuleDeploymentRequestsPath |
setModuleType(java.lang.String moduleType)
Set the module type.
|
java.lang.String |
toString() |
public ModuleDeploymentRequestsPath()
ModuleDeploymentRequestsPath
.
Use of this constructor means that a path will be created via build()
.public ModuleDeploymentRequestsPath(java.lang.String path)
ModuleDeploymentRequestsPath
.
Use of this constructor means that an existing path will be provided and
this object will be used to extract the individual elements of the path.
Both full paths (including and excluding the XD namespace prefix
) are supported.path
- stream pathpublic java.lang.String getModuleInstanceAsString()
public java.lang.String getDeploymentUnitName()
public ModuleDeploymentRequestsPath setDeploymentUnitName(java.lang.String deploymentUnitName)
deploymentUnitName
- the deployment unit namepublic java.lang.String getModuleType()
public ModuleDeploymentRequestsPath setModuleType(java.lang.String moduleType)
moduleType
- module typepublic java.lang.String getModuleLabel()
public ModuleDeploymentRequestsPath setModuleLabel(java.lang.String moduleLabel)
moduleLabel
- module labelpublic java.lang.String getModuleSequence()
public ModuleDeploymentRequestsPath setModuleSequence(java.lang.String moduleSequence)
moduleSequence
- module sequencepublic java.lang.String build()
Paths.build(java.lang.String...)
public java.lang.String toString()
toString
in class java.lang.Object
public static java.util.List<ModuleDeploymentRequestsPath> getModulesForDeploymentUnit(java.util.Collection<ModuleDeploymentRequestsPath> requestedModulesPaths, java.lang.String unitName)
requestedModulesPaths
- the collection of module deployment requests' pathsunitName
- the deployment unit (stream/job) name