|
terp - the ANT Tasks v1.3.304 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TerpAware
An interface implemented by terp-aware tasks.
| Nested Class Summary | |
|---|---|
static class |
TerpAware.Delegate
A utility class that implements the TerpAware interface. |
| Method Summary | |
|---|---|
java.lang.String |
getIf()
Returns the condition that must be satidifed to execute the implementing task. |
java.lang.String |
getUnless()
Returns the condition that must not be satidifed to execute the implementing task. |
boolean |
satisfiesConditions()
Returns true if both conditions are met. |
void |
setIf(java.lang.String condition)
Sets a condition that must be satisfied to execute the implementing task. |
void |
setUnless(java.lang.String condition)
Sets a condition that must not be satisfied to execute the implementing task. |
| Methods inherited from interface com.codemesh.terp.ant.TerpContextHolder |
|---|
getContext, setContext |
| Method Detail |
|---|
void setIf(java.lang.String condition)
condition - a terp expression that must evaluate to a boolean value.java.lang.String getIf()
void setUnless(java.lang.String condition)
condition - a terp expression that must evaluate to a boolean value.java.lang.String getUnless()
boolean satisfiesConditions()
|
terp - the ANT Tasks v1.3.304 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||