public class Cardinality extends Object
Constructor and Description |
---|
Cardinality(String cardinality) |
Modifier and Type | Method and Description |
---|---|
String |
getValue() |
boolean |
isAll()
Determine if component is required for all host groups.
|
boolean |
isValidCount(int count)
Determine if the given count satisfies the required cardinality.
|
boolean |
supportsAutoDeploy()
Determine if the cardinality count supports auto-deployment.
|
public Cardinality(String cardinality)
public boolean isAll()
public boolean isValidCount(int count)
count
- number of host groups containing componentpublic boolean supportsAutoDeploy()
public String getValue()
Copyright © 2022 Apache Software Foundation. All rights reserved.