public abstract class AbstractValidator extends ValidatorCallbackHelper implements Validator
| Modifier and Type | Field and Description |
|---|---|
static String |
ALFRESCO_DETAILED_SPM_URI_STR |
static String[] |
ALFRESCO_NETWORK_URI |
static String[] |
ALFRESCO_SPM_URIS |
static String |
ALFRESCO_SUMMARY_SPM_URI_STR |
protected static String |
OS_NAME_LINUX |
protected static String |
OS_NAME_MAC_OSX |
protected static String |
OS_NAME_PREFIX_WINDOWS |
protected static String |
OS_NAME_SOLARIS |
protected static org.hyperic.sigar.Sigar |
sigar |
protected static String |
SYSTEM_PROPERTY_OS_NAME |
| Constructor and Description |
|---|
AbstractValidator() |
| Modifier and Type | Method and Description |
|---|---|
protected Triple |
executeCommand(String[] commandAndParameters) |
protected Triple |
executeCommand(String[] commandAndParameters,
long waitTime) |
protected String |
executeCommandAndGrabStderr(String[] commandAndParameters) |
protected String |
executeCommandAndGrabStderr(String[] commandAndParameters,
long waitTime) |
protected String |
executeCommandAndGrabStdout(String[] commandAndParameters) |
protected String |
executeCommandAndGrabStdout(String[] commandAndParameters,
long waitTime) |
protected boolean |
hostNameResolves(String hostname) |
protected boolean |
isDecimalChar(char character) |
protected boolean |
isIntegralChar(char character) |
protected boolean |
isLinux() |
protected boolean |
isMacOSX() |
protected boolean |
isSolaris() |
protected boolean |
isWindows() |
protected boolean |
isWindows64() |
protected Triple |
ping(int numPings,
String hostname) |
protected String |
readFile(String fileName) |
protected boolean |
stringContains(String lookIn,
String lookFor) |
protected BigDecimal |
stringToBigDecimal(String theString) |
protected Integer |
stringToInteger(String theString) |
protected String[] |
tokenizeString(String theString,
String delimiter) |
endTest, newTopic, progress, startTestpublic static final String ALFRESCO_SUMMARY_SPM_URI_STR
public static final String ALFRESCO_DETAILED_SPM_URI_STR
public static final String[] ALFRESCO_SPM_URIS
public static final String[] ALFRESCO_NETWORK_URI
protected static final String SYSTEM_PROPERTY_OS_NAME
protected static final String OS_NAME_LINUX
protected static final String OS_NAME_SOLARIS
protected static final String OS_NAME_PREFIX_WINDOWS
protected static final String OS_NAME_MAC_OSX
protected static final org.hyperic.sigar.Sigar sigar
protected String readFile(String fileName) throws IOException
IOExceptionprotected Triple executeCommand(String[] commandAndParameters) throws IOException, InterruptedException
IOExceptionInterruptedExceptionprotected Triple executeCommand(String[] commandAndParameters, long waitTime) throws IOException, InterruptedException
IOExceptionInterruptedExceptionprotected String executeCommandAndGrabStdout(String[] commandAndParameters) throws IOException, InterruptedException
IOExceptionInterruptedExceptionprotected String executeCommandAndGrabStdout(String[] commandAndParameters, long waitTime) throws IOException, InterruptedException
IOExceptionInterruptedExceptionprotected String executeCommandAndGrabStderr(String[] commandAndParameters) throws IOException, InterruptedException
IOExceptionInterruptedExceptionprotected String executeCommandAndGrabStderr(String[] commandAndParameters, long waitTime) throws IOException, InterruptedException
IOExceptionInterruptedExceptionprotected boolean hostNameResolves(String hostname)
protected Triple ping(int numPings, String hostname)
hostname - protected boolean isIntegralChar(char character)
protected boolean isDecimalChar(char character)
protected BigDecimal stringToBigDecimal(String theString)
protected boolean isMacOSX()
protected boolean isLinux()
protected boolean isSolaris()
protected boolean isWindows()
protected boolean isWindows64()
Copyright © 2014. All rights reserved.