public class DefaultClusterSetupValidator extends Object implements ClusterSetupValidator
| Constructor and Description | 
|---|
DefaultClusterSetupValidator(MessageHolder holder)  | 
| Modifier and Type | Method and Description | 
|---|---|
MessageHolder | 
getResult()  | 
ClusterSetupValidator | 
validateAWSJoinConfig(String accessKey,
                     String secretKey,
                     String iamRole,
                     String region,
                     String hostHeader,
                     String securityGroupName,
                     String tagKey,
                     String tagValue)
Validates all the parameters for an AWS cluster. 
 | 
ClusterSetupValidator | 
validateClusterHome(String clusterHome)
Validates just the cluster Home. 
 | 
ClusterSetupValidator | 
validateClusterJoinMethod(String joinMethod)  | 
ClusterSetupValidator | 
validateClusterName(String clusterName)
Validates just the cluster Name. 
 | 
ClusterSetupValidator | 
validateMulticastClusterJoinConfig(Boolean generateAddress,
                                  String clusterAddress)
Validates just the cluster address, for a multicast cluster. 
 | 
ClusterSetupValidator | 
validateNetworkInterface(String networkInterface)
Validates just the cluster network address 
 | 
ClusterSetupValidator | 
validateTCPIPClusterJoinConfig(String clusterPeersString)
Validates the cluster peers, for a TCPIP cluster. 
 | 
public DefaultClusterSetupValidator(MessageHolder holder)
public MessageHolder getResult()
getResult in interface ClusterSetupValidatorpublic ClusterSetupValidator validateClusterJoinMethod(String joinMethod)
validateClusterJoinMethod in interface ClusterSetupValidatorpublic ClusterSetupValidator validateMulticastClusterJoinConfig(Boolean generateAddress, String clusterAddress)
ClusterSetupValidatorvalidateMulticastClusterJoinConfig in interface ClusterSetupValidatorgenerateAddress - whether or not the cluster multicast address should be auto generatedclusterAddress - must be a valid IP multicast addresspublic ClusterSetupValidator validateNetworkInterface(String networkInterface)
ClusterSetupValidatorvalidateNetworkInterface in interface ClusterSetupValidatornetworkInterface - The network interface to be usedpublic ClusterSetupValidator validateClusterName(String clusterName)
ClusterSetupValidatorvalidateClusterName in interface ClusterSetupValidatorclusterName - must be a non-empty stringpublic ClusterSetupValidator validateClusterHome(String clusterHome)
ClusterSetupValidatorvalidateClusterHome in interface ClusterSetupValidatorclusterHome - must be a valid filepath to a readable directorypublic ClusterSetupValidator validateTCPIPClusterJoinConfig(String clusterPeersString)
ClusterSetupValidatorvalidateTCPIPClusterJoinConfig in interface ClusterSetupValidatorclusterPeersString - comma-separated string of cluster node IPspublic ClusterSetupValidator validateAWSJoinConfig(String accessKey, String secretKey, String iamRole, String region, String hostHeader, String securityGroupName, String tagKey, String tagValue)
ClusterSetupValidatorvalidateAWSJoinConfig in interface ClusterSetupValidatorCopyright © 2003–2017 Atlassian. All rights reserved.