|
terp - the ANT Tasks v1.3.309 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.Sequential
com.codemesh.terp.ant.TerpSequential
public class TerpSequential
A terp-aware sequential implementation.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.codemesh.terp.ant.TerpAware |
|---|
TerpAware.Delegate |
| Field Summary |
|---|
| Fields inherited from class org.apache.tools.ant.Task |
|---|
target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
|---|
description, location, project |
| Constructor Summary | |
|---|---|
TerpSequential()
|
|
| Method Summary | |
|---|---|
void |
execute()
|
TerpContext |
getContext()
Returns the context maintained by this instance. |
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 |
setContext(TerpContext ctx)
Sets the context maintained by this instance. |
void |
setIf(java.lang.String condition)
Sets a condition that must be satisfied to execute the implementing task. |
void |
setProject(org.apache.tools.ant.Project p)
|
void |
setUnless(java.lang.String condition)
Sets a condition that must not be satisfied to execute the implementing task. |
| Methods inherited from class org.apache.tools.ant.taskdefs.Sequential |
|---|
addTask |
| Methods inherited from class org.apache.tools.ant.Task |
|---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
clone, getDescription, getLocation, getProject, setDescription, setLocation |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TerpSequential()
| Method Detail |
|---|
public void setProject(org.apache.tools.ant.Project p)
setProject in class org.apache.tools.ant.ProjectComponentpublic TerpContext getContext()
TerpContextHolder
getContext in interface TerpContextHolderpublic void setContext(TerpContext ctx)
TerpContextHolder
setContext in interface TerpContextHolderctx - the execution context.
public void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.taskdefs.Sequentialorg.apache.tools.ant.BuildExceptionpublic java.lang.String getIf()
TerpAware
getIf in interface TerpAwarepublic java.lang.String getUnless()
TerpAware
getUnless in interface TerpAwarepublic boolean satisfiesConditions()
TerpAware
satisfiesConditions in interface TerpAwarepublic void setIf(java.lang.String condition)
TerpAware
setIf in interface TerpAwarecondition - a terp expression that must evaluate to a boolean value.public void setUnless(java.lang.String condition)
TerpAware
setUnless in interface TerpAwarecondition - a terp expression that must evaluate to a boolean value.
|
terp - the ANT Tasks v1.3.309 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||