|
||||||||||
| 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
orca.nodeagent.client.AntBaseTask
public class AntBaseTask
| Field Summary | |
|---|---|
protected org.apache.tools.ant.types.Path |
classpath
Classpath to use |
protected java.lang.String |
exitCodeMessageProperty
Name of the property under which to store the exit message. |
protected java.lang.String |
exitCodeProperty
Name of the property under which to store the exit code. |
static int |
InternalTaskError
|
protected java.lang.String |
loaderref
Name of the loader to use |
protected LoggingTool |
logger
|
static java.lang.String |
PropertyRootPath
|
protected int |
timeout
Timeout for operations |
| 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 | |
|---|---|
AntBaseTask()
|
|
| Method Summary | |
|---|---|
org.apache.tools.ant.types.Path |
createClasspath()
Adds a path to the classpath. |
void |
execute()
|
protected void |
fixClassPath()
|
org.apache.tools.ant.types.Path |
getClasspath()
Gets the classpath to be used for this compilation. |
protected java.lang.String |
getErrorMessage(int code)
|
protected java.util.Properties |
getProperties()
|
void |
setClasspath(org.apache.tools.ant.types.Path classpath)
Set the classpath to be used for this compilation. |
void |
setClasspathRef(org.apache.tools.ant.types.Reference r)
Adds a reference to a classpath defined elsewhere. |
protected void |
setExitCode(int code)
|
void |
setExitCodeProperty(java.lang.String exitCodeProperty)
|
void |
setLoaderref(java.lang.String loaderref)
|
protected void |
setResult(int code)
|
void |
setTimeout(int timeout)
|
| 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, setProject |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int InternalTaskError
public static final java.lang.String PropertyRootPath
protected java.lang.String exitCodeProperty
protected java.lang.String exitCodeMessageProperty
protected org.apache.tools.ant.types.Path classpath
protected int timeout
protected java.lang.String loaderref
protected LoggingTool logger
| Constructor Detail |
|---|
public AntBaseTask()
| Method Detail |
|---|
public void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildExceptionpublic org.apache.tools.ant.types.Path createClasspath()
protected void fixClassPath()
throws java.lang.Exception
java.lang.Exception
protected void setResult(int code)
throws java.lang.Exception
java.lang.Exceptionprotected java.lang.String getErrorMessage(int code)
protected void setExitCode(int code)
throws java.lang.Exception
java.lang.Exception
protected java.util.Properties getProperties()
throws java.lang.Exception
java.lang.Exceptionpublic void setClasspathRef(org.apache.tools.ant.types.Reference r)
r - a reference to a classpathpublic org.apache.tools.ant.types.Path getClasspath()
public void setExitCodeProperty(java.lang.String exitCodeProperty)
exitCodePropert - the exitCodePropert to setpublic void setTimeout(int timeout)
timeout - the timeout to setpublic void setLoaderref(java.lang.String loaderref)
loaderref - the loaderref to setpublic void setClasspath(org.apache.tools.ant.types.Path classpath)
classpath - an Ant Path object containing the compilation classpath.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||