@PublicAPI public class NodeSourceDescriptor extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
NodeSourceDescriptor.Builder |
Modifier and Type | Method and Description |
---|---|
LinkedHashMap<String,String> |
getAdditionalInformation()
Returns additional information attached to this Node Source.
|
Map<String,String> |
getInfrastructureNamedParameters()
The infrastructure parameters as a map
|
String |
getInfrastructureParameter(String name)
Returns the value of a single infrastructure parameter
|
Object[] |
getInfrastructureParameters()
The infrastructure parameters as an array
|
PluginDescriptor |
getInfrastructurePluginDescriptor()
Returns the infrastructure descriptor, which contains the definition of the infrastructure parameters (name, type, description, etc)
|
String |
getInfrastructureType()
The class implementation of this Node Source's infrastructure
|
Map<String,Serializable> |
getLastRecoveredInfrastructureVariables()
Only used internally
|
String |
getName()
The name of this Node Source
|
Map<String,String> |
getPolicyNamedParameters()
The policy parameters as a map
|
String |
getPolicyParameter(String name)
Returns the value of a single policy parameter
|
Object[] |
getPolicyParameters()
The policy parameters as an array
|
PluginDescriptor |
getPolicyPluginDescriptor()
Returns the policy descriptor, which contains the definition of the policy parameters (name, type, description, etc)
|
String |
getPolicyType()
The class implementation of this Node Source's policy
|
Client |
getProvider()
Returns the owner of this Node Source
|
List<Serializable> |
getSerializableInfrastructureParameters()
The infrastructure parameters as a list of serializable objects
|
List<Serializable> |
getSerializablePolicyParameters()
The policy parameters as a list of serializable objects
|
NodeSourceStatus |
getStatus()
Returns this node source current status (deployed or un-deployed)
|
boolean |
nodesRecoverable()
Are the nodes in this Node Source recoverable (e.g.
|
void |
setInfrastructureParameters(List<Serializable> infrastructureParameters) |
void |
setPolicyParameters(List<Serializable> policyParameters) |
void |
setStatus(NodeSourceStatus status) |
public String getName()
public String getInfrastructureType()
public List<Serializable> getSerializableInfrastructureParameters()
public Object[] getInfrastructureParameters()
public Map<String,String> getInfrastructureNamedParameters()
public String getInfrastructureParameter(String name)
name
- infrastructure parameter namepublic String getPolicyType()
public List<Serializable> getSerializablePolicyParameters()
public Object[] getPolicyParameters()
public Map<String,String> getPolicyNamedParameters()
public String getPolicyParameter(String name)
name
- policy parameter namepublic Client getProvider()
public boolean nodesRecoverable()
public NodeSourceStatus getStatus()
public LinkedHashMap<String,String> getAdditionalInformation()
public Map<String,Serializable> getLastRecoveredInfrastructureVariables()
public void setStatus(NodeSourceStatus status)
public void setInfrastructureParameters(List<Serializable> infrastructureParameters)
public void setPolicyParameters(List<Serializable> policyParameters)
public PluginDescriptor getInfrastructurePluginDescriptor()
public PluginDescriptor getPolicyPluginDescriptor()