public class OddjobTask
extends org.apache.tools.ant.Task
This is an example of using it in a build file.
<taskdef name="oddjob" classname="org.oddjob.ant.OddjobTask"/> <target name="simple" description="Run somehting simple"/> <oddjob config="simple/oddjob.xml"/> </target>
Type | Property and Description |
---|---|
org.apache.tools.ant.taskdefs.Property |
create
Property to pass to the new project.
|
Modifier and Type | Field and Description |
---|---|
static String |
ODDJOB_HOME_PROPERTY |
Constructor and Description |
---|
OddjobTask() |
Modifier and Type | Method and Description |
---|---|
org.apache.tools.ant.taskdefs.Property |
createProperty()
Property to pass to the new project.
|
void |
execute()
Execute the job.
|
String |
getArgs() |
File |
getFile() |
String |
getName()
Get the name.
|
File |
getOddballsDir() |
String |
getOddballsPath() |
boolean |
isInheritAll() |
boolean |
isNoOddballs() |
void |
setArgs(String args) |
void |
setFile(File file) |
void |
setInheritAll(boolean inheritAll) |
void |
setName(String name)
Set the name.
|
void |
setNoOddballs(boolean noOddballs) |
void |
setOddballsDir(File oddballsDir) |
void |
setOddballsPath(String oddballsPath) |
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
Property
object.public static final String ODDJOB_HOME_PROPERTY
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
public void setName(String name)
name
- The name.public String getName()
public boolean isInheritAll()
public void setInheritAll(boolean inheritAll)
public org.apache.tools.ant.taskdefs.Property createProperty()
Property
object.public File getFile()
public void setFile(File file)
public File getOddballsDir()
public void setOddballsDir(File oddballsDir)
public boolean isNoOddballs()
public void setNoOddballs(boolean noOddballs)
public String getOddballsPath()
public void setOddballsPath(String oddballsPath)
public String getArgs()
public void setArgs(String args)