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
Role assignment for a node in an environment.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet list of defined variants, regardless if the 'variant' or 'variants' parameter was used.getRole()
Defines the role name.Defines the role variant name.Defines multiple role variant names.void
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
-
Constructor Details
-
NodeRole
public NodeRole()
-
-
Method Details
-
getRole
Defines the role name.- Returns:
- Role name
-
setRole
-
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
-
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
-
setVariants
-
getAggregatedVariants
Get list of defined variants, regardless if the 'variant' or 'variants' parameter was used.- Returns:
- List of defined variants
-