| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.taskdefs.condition.IsFailure
public class IsFailure
Condition to test a return-code for failure.
| Constructor Summary | |
|---|---|
| IsFailure() | |
| Method Summary | |
|---|---|
|  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. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public IsFailure()
| Method Detail | 
|---|
public void setCode(int c)
c - the return code.public int getCode()
public boolean eval()
eval in interface Condition| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||