Class Node
- java.lang.Object
-
- io.wcm.devops.conga.model.shared.AbstractModel
-
- io.wcm.devops.conga.model.shared.AbstractConfigurable
-
- io.wcm.devops.conga.model.environment.Node
-
- All Implemented Interfaces:
Configurable
,Serializable
public final class Node extends AbstractConfigurable
Environment node. A node is a system to deploy to, e.g. a physical machine, virtual machine, Docker container or any other deployment target.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Node()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getNode()
Defines the node name.List<String>
getNodes()
Defines multiple node names.List<NodeRole>
getRoles()
Defines roles to be used by this node.void
setNode(String node)
void
setNodes(List<String> nodes)
void
setRoles(List<NodeRole> roles)
-
Methods inherited from class io.wcm.devops.conga.model.shared.AbstractConfigurable
getConfig, setConfig
-
Methods inherited from class io.wcm.devops.conga.model.shared.AbstractModel
toString
-
-
-
-
Method Detail
-
getNode
public String getNode()
Defines the node name. This is usually a host name or any other unique name identifying the node.- Returns:
- Node name
-
setNode
public void setNode(String node)
-
getNodes
public List<String> getNodes()
Defines multiple node names. This is useful if the same set of roles, role variants and configuration apply to multiple nodes. In this case you can define a single node definition with multiple node names. The single node name property must nost be used in this case.- Returns:
- List of node names
-
getRoles
public List<NodeRole> getRoles()
Defines roles to be used by this node.- Returns:
- Role assignments for node
-
-