public abstract class Command extends Object
Constructor and Description |
---|
Command() |
Modifier and Type | Method and Description |
---|---|
abstract String[] |
buildCommand(String ccmExe)
Return the Synergy command line to execute as an array.
|
boolean[] |
buildMask()
Build a mask of values in the command line that should not be logged.
|
boolean |
isStatusOK(int status,
String output)
Return true if the given return status is ok for the command.
|
abstract void |
parseResult(String result)
Parse the command result.
|
public abstract String[] buildCommand(String ccmExe)
public abstract void parseResult(String result)
public boolean[] buildMask()
public boolean isStatusOK(int status, String output)
status
- The ccm process return codeoutput
- The ccm process outputCopyright © 2008-2013. All Rights Reserved.