public class SpaceURLValidator extends Object
| Constructor and Description |
|---|
SpaceURLValidator() |
| Modifier and Type | Method and Description |
|---|---|
static String[] |
getClusterMembers(String totalMembers) |
static void |
validate(SpaceURL spaceURL)
The method is used for valid the space url before finding it from space
|
static void |
validateClusterSchemaAttributes(SpaceURL spaceURL)
Validates various SpaceURL combinations with the cluster_schema, total_members is and
backup_id arguments.
|
public static String[] getClusterMembers(String totalMembers)
public static void validateClusterSchemaAttributes(SpaceURL spaceURL) throws MalformedURLException
MalformedURLException - if fails in validation testpublic static void validate(SpaceURL spaceURL) throws Exception
spaceURL - space url objectSpaceURLValidationException - thrown if something went wrongExceptionCopyright © GigaSpaces.