org.apache.tools.ant.taskdefs.condition
Class IsFailure
java.lang.Object
org.apache.tools.ant.taskdefs.condition.IsFailure
- Condition
public class IsFailure
extends java.lang.Object
Condition to test a return-code for failure.
boolean | eval() - Fulfill the condition interface.
|
int | getCode() - Get the return code that will be checked by this IsFailure condition.
|
void | setCode(int c) - Set the return code to check.
|
eval
public boolean eval()
Fulfill the condition interface.
- eval in interface Condition
- the result of evaluating the specified return code.
getCode
public int getCode()
Get the return code that will be checked by this IsFailure condition.
setCode
public void setCode(int c)
Set the return code to check.