| |
|
| java.lang.Object org.apache.tools.ant.taskdefs.condition.IsFailure
IsFailure | public class IsFailure implements Condition(Code) | | Condition to test a return-code for failure.
since: Ant 1.7 |
Method Summary | |
public boolean | eval() Fulfill the condition interface. | public int | getCode() Get the return code that will be checked by this IsFailure condition. | public void | setCode(int c) Set the return code to check. |
eval | public boolean eval()(Code) | | Fulfill the condition interface.
the result of evaluating the specified return code. |
getCode | public int getCode()(Code) | | Get the return code that will be checked by this IsFailure condition.
return code as int. |
setCode | public void setCode(int c)(Code) | | Set the return code to check.
Parameters: c - the return code. |
|
|
|