Class NodeRole
- java.lang.Object
-
- io.wcm.devops.conga.model.shared.AbstractModel
-
- io.wcm.devops.conga.model.shared.AbstractConfigurable
-
- io.wcm.devops.conga.model.environment.NodeRole
-
- All Implemented Interfaces:
Configurable
,Serializable
public final class NodeRole extends AbstractConfigurable
Role assignment for a node in an environment.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NodeRole()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getAggregatedVariants()
Get list of defined variants, regardless if the 'variant' or 'variants' parameter was used.String
getRole()
Defines the role name.String
getVariant()
Defines the role variant name.List<String>
getVariants()
Defines multiple role variant names.void
setRole(String role)
void
setVariant(String variant)
void
setVariants(List<String> variants)
-
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
-
getRole
public String getRole()
Defines the role name.- Returns:
- Role name
-
setRole
public void setRole(String role)
-
getVariant
public String getVariant()
Defines the role variant name. The role has to define the variant. With this parameter only one variant can be chosen per role.- Returns:
- Role variant name
-
setVariant
public void setVariant(String variant)
-
getVariants
public List<String> getVariants()
Defines multiple role variant names. The role has to define the variants. If this is set any value set to the 'variant' parameter is ignored.- Returns:
- Role variant names
-
-