public interface ClusterSetupValidator
Modifier and Type | Method and Description |
---|---|
MessageHolder |
validateAll(String clusterName,
String clusterHome,
Boolean generateAddress,
String clusterAddress,
String networkInterface,
MessageHolder result)
Deprecated.
since 5.9
|
MessageHolder |
validateAll(String clusterName,
String clusterHome,
String joinMethod,
Boolean generateAddress,
String clusterAddress,
String clusterPeersString,
String networkInterface,
MessageHolder result)
Validates all cluster parameters.
|
MessageHolder |
validateClusterAddress(Boolean generateAddress,
String clusterAddress,
MessageHolder result)
Validates just the cluster Address
|
MessageHolder |
validateClusterHome(String clusterHome,
MessageHolder result)
Validates just the cluster Home
|
MessageHolder |
validateClusterName(String clusterName,
MessageHolder result)
Validates just the cluster Name
|
MessageHolder |
validateClusterPeers(String clusterPeersString,
MessageHolder result)
Validates the cluster peers
|
MessageHolder |
validateNetworkInterface(String networkInterface,
MessageHolder result)
Validates just the cluster network address
|
@Deprecated MessageHolder validateAll(String clusterName, String clusterHome, Boolean generateAddress, String clusterAddress, String networkInterface, MessageHolder result)
clusterName
- must be a non-empty stringclusterHome
- must be a valid filepath to a readable directorygenerateAddress
- whether or not the cluster multicast address should be auto generatedclusterAddress
- must be a valid IP multicast addressnetworkInterface
- no restrictions yet, assuming it will be correct.result
- The messageHolder that errors are put intoMessageHolder validateAll(String clusterName, String clusterHome, String joinMethod, Boolean generateAddress, String clusterAddress, String clusterPeersString, String networkInterface, MessageHolder result)
clusterName
- must be a non-empty stringclusterHome
- must be a valid filepath to a readable directoryjoinMethod
- which cluster join method to usegenerateAddress
- whether or not the cluster multicast address should be auto generatedclusterAddress
- must be a valid IP multicast addressclusterPeersString
- comma separated string of cluster node IPsnetworkInterface
- no restrictions yet, assuming it will be correct.result
- The messageHolder that errors are put intoMessageHolder validateClusterName(String clusterName, MessageHolder result)
clusterName
- must be a non-empty stringresult
- The messageHolder that errors are put intoMessageHolder validateClusterHome(String clusterHome, MessageHolder result)
clusterHome
- must be a valid filepath to a readable directoryresult
- The messageHolder that errors are put intoMessageHolder validateClusterPeers(String clusterPeersString, MessageHolder result)
clusterPeersString
- comma-separated string of cluster node IPsresult
- The messageHolder that errors are put intoMessageHolder validateClusterAddress(Boolean generateAddress, String clusterAddress, MessageHolder result)
generateAddress
- whether or not the cluster multicast address should be auto generatedclusterAddress
- must be a valid IP multicast addressresult
- The messageHolder that errors are put intoMessageHolder validateNetworkInterface(String networkInterface, MessageHolder result)
networkInterface
- The network interface to be usedresult
- The messageHolder that errors are put intoCopyright © 2003–2016 Atlassian. All rights reserved.