|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.gigaspaces.ant.TaskDescriptor
public class TaskDescriptor
Contains the description of an Ant task to process.
Constructor Summary | |
---|---|
TaskDescriptor(java.lang.String buildFile)
Create a TaskDescriptor with a buildFile, using the build file's default target, with no properties and processing asynchronously |
|
TaskDescriptor(java.lang.String buildFile,
boolean async)
Create a TaskDescriptor |
|
TaskDescriptor(java.lang.String buildFile,
java.lang.String target)
Create a TaskDescriptor with a buildFile and target(s) |
|
TaskDescriptor(java.lang.String buildFile,
java.lang.String target,
boolean async)
Create a TaskDescriptor |
|
TaskDescriptor(java.lang.String buildFile,
java.lang.String target,
java.util.Properties properties)
Create a TaskDescriptor |
|
TaskDescriptor(java.lang.String buildFile,
java.lang.String target,
java.util.Properties properties,
boolean async)
Create a TaskDescriptor |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Override equals |
java.lang.String |
getBuildFile()
Get the build file that was processed |
long |
getCompleted()
Get the time the Ant task was completed |
java.util.Properties |
getProperties()
Get the Properties used to run the Ant task |
long |
getSubmitted()
Get the time the Ant task was submitted |
java.lang.String |
getTarget()
Get the target(s) used to run the Ant build file |
int |
hashCode()
Override hashCode |
boolean |
isAsync()
Get whether the Ant task was run asynchronously or synchronously |
void |
setCompleted(long completed)
Set the time the Ant task was completed |
void |
setSubmitted(long submitted)
Set the time the Ant task was submitted |
java.lang.String |
toString()
A String representation of the TaskDescriptor |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TaskDescriptor(java.lang.String buildFile)
buildFile
- The Ant build file, must not be nullpublic TaskDescriptor(java.lang.String buildFile, boolean async)
buildFile
- The Ant build file, must not be nullasync
- If true
, a thread will be created to run the
build file. If false
, the build file will be processed
within the scope of the calling method's invocationpublic TaskDescriptor(java.lang.String buildFile, java.lang.String target)
buildFile
- The Ant build file, must not be nulltarget
- Space delimited String listing the target(s) to invoke.public TaskDescriptor(java.lang.String buildFile, java.lang.String target, java.util.Properties properties)
buildFile
- The Ant build file, must not be nulltarget
- Space delimited String listing the target(s) to invoke.properties
- Properties to set for the Ant taskpublic TaskDescriptor(java.lang.String buildFile, java.lang.String target, boolean async)
buildFile
- The Ant build file, must not be nulltarget
- Space delimited String listing the target(s) to invoke.async
- If true
, a thread will be created to run the
build file. If false
, the build file will be processed
within the scope of the calling method's invocationpublic TaskDescriptor(java.lang.String buildFile, java.lang.String target, java.util.Properties properties, boolean async)
buildFile
- The Ant build file, must not be nulltarget
- Space delimited String listing the target(s) to invoke.properties
- Properties to set for the Ant taskasync
- If true
, a thread will be created to run the
build file. If false
, the build file will be processed
within the scope of the calling method's invocationMethod Detail |
---|
public long getSubmitted()
public void setSubmitted(long submitted)
public long getCompleted()
public void setCompleted(long completed)
public java.lang.String getBuildFile()
public java.lang.String getTarget()
null
, the Ant build file was invoked with
no targets, using the default target configured in the Ant build filepublic java.util.Properties getProperties()
public boolean isAsync()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |