|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IAsAdminCmd
| Method Summary | |
|---|---|
boolean |
failOnNonZeroExit()
If asadmin command return is non zero the command will be given the change to say whether they wish to fail based on the contents of stdout and stderr they have been passed. |
String |
getActionCommand()
|
Reader |
getErrorOutput()
|
String[] |
getParameters()
|
Reader |
getStandardOutput()
|
String |
handlePasswordFile(String configuredPasswordFile)
Hooks called by AsAdmin to allow commands to impact the configured password file. |
boolean |
needCredentials()
|
void |
setOkayErrorPattern(Pattern pattern)
Pass a Pattern which can be used to match the stderr output if the asadmin exits with a non zero value. |
void |
setOkayStdOutPattern(Pattern pattern)
Pass a Pattern which can be used to match the stdout output if the asadmin exits with a non zero value. |
| Method Detail |
|---|
Reader getStandardOutput()
Reader getErrorOutput()
boolean needCredentials()
String handlePasswordFile(String configuredPasswordFile)
throws AsAdminException
configuredPasswordFile - Configured password file
AsAdminExceptionString getActionCommand()
String[] getParameters()
boolean failOnNonZeroExit()
void setOkayErrorPattern(Pattern pattern)
void setOkayStdOutPattern(Pattern pattern)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||