public final class GridProperties extends Object
| Modifier and Type | Method and Description |
|---|---|
static String[] |
getHubProperties()
Reads the properties file(s) for the hub configuration and returns it as an
String array |
static String[] |
getNodeProperties(int... port)
Reads the properties file(s) for the node configuration and returns it as an
String array |
public static String[] getHubProperties()
String arrayString property keys and valuesRuntimeException - Throws an IOException if the properties file cannot be found or
An Exception if property key has an invalid formatpublic static String[] getNodeProperties(int... port)
String arrayport - int value of port to useString property keys and valuesRuntimeException - Throws an IOException if the properties file cannot be found or
An Exception if property key has an invalid formatCopyright © 2015 Alfresco Software. All rights reserved.