Class RunTargetCommand
java.lang.Object
net.sf.antcontrib.antserver.commands.AbstractCommand
net.sf.antcontrib.antserver.commands.RunTargetCommand
- All Implemented Interfaces:
Serializable, Command
Place class description here.
- Since:
- Author:
- Matthew Inger,
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddConfiguredProperty(PropertyContainer property) voidaddConfiguredReference(ReferenceContainer reference) booleanexecute(org.apache.tools.ant.Project project, long contentLength, InputStream content) Execute the command.booleanbooleanvoidsetInheritall(boolean inheritall) voidsetInteritrefs(boolean interitrefs) voidsetProperties(Vector properties) voidsetReferences(Vector references) voidvoidvalidate(org.apache.tools.ant.Project project) This should throw a build exception if the parameters are invalid.Methods inherited from class AbstractCommand
getContentLength, getContentStream, getReponseContentStream, getResponseContentLength, respondMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Command
getContentLength, getContentStream, getReponseContentStream, getResponseContentLength, respond
-
Constructor Details
-
RunTargetCommand
public RunTargetCommand()
-
-
Method Details
-
getTarget
-
setTarget
-
getProperties
-
setProperties
-
getReferences
-
setReferences
-
isInheritall
public boolean isInheritall() -
setInheritall
public void setInheritall(boolean inheritall) -
isInteritrefs
public boolean isInteritrefs() -
setInteritrefs
public void setInteritrefs(boolean interitrefs) -
addConfiguredProperty
-
addConfiguredReference
-
validate
-
execute
public boolean execute(org.apache.tools.ant.Project project, long contentLength, InputStream content) throws Throwable Description copied from interface:CommandExecute the command.
-