aQute.bnd.ant
Class BaseTask
java.lang.Object
Task
aQute.bnd.ant.BaseTask
- All Implemented Interfaces:
- Reporter
- Direct Known Subclasses:
- BndTask, DeployTask, EclipseTask, ExpandPropertiesTask, PrepareTask, ProjectTask, WrapTask
public class BaseTask
- extends Task
- implements Reporter
|
Method Summary |
void |
error(java.lang.String s,
java.lang.Object... args)
|
java.util.List<java.lang.String> |
getErrors()
|
static java.io.File |
getFile(java.io.File base,
java.lang.String file)
|
java.util.List<java.lang.String> |
getProgress()
|
java.util.List<java.lang.String> |
getWarnings()
|
boolean |
isPedantic()
|
protected java.lang.String |
join(java.util.Collection<?> classpath,
java.lang.String string)
|
void |
progress(java.lang.String s,
java.lang.Object... args)
|
protected boolean |
report()
|
protected boolean |
report(Reporter reporter)
|
void |
setPedantic(boolean pedantic)
|
void |
setTrace(boolean trace)
|
protected java.util.List<java.lang.String> |
split(java.lang.String dependsOn,
java.lang.String string)
|
void |
trace(java.lang.String s,
java.lang.Object... args)
|
void |
warning(java.lang.String s,
java.lang.Object... args)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseTask
public BaseTask()
error
public void error(java.lang.String s,
java.lang.Object... args)
- Specified by:
error in interface Reporter
getErrors
public java.util.List<java.lang.String> getErrors()
- Specified by:
getErrors in interface Reporter
getProgress
public java.util.List<java.lang.String> getProgress()
getWarnings
public java.util.List<java.lang.String> getWarnings()
- Specified by:
getWarnings in interface Reporter
progress
public void progress(java.lang.String s,
java.lang.Object... args)
- Specified by:
progress in interface Reporter
warning
public void warning(java.lang.String s,
java.lang.Object... args)
- Specified by:
warning in interface Reporter
report
protected boolean report()
report
protected boolean report(Reporter reporter)
getFile
public static java.io.File getFile(java.io.File base,
java.lang.String file)
split
protected java.util.List<java.lang.String> split(java.lang.String dependsOn,
java.lang.String string)
join
protected java.lang.String join(java.util.Collection<?> classpath,
java.lang.String string)
isPedantic
public boolean isPedantic()
- Specified by:
isPedantic in interface Reporter
setPedantic
public void setPedantic(boolean pedantic)
setTrace
public void setTrace(boolean trace)
trace
public void trace(java.lang.String s,
java.lang.Object... args)
- Specified by:
trace in interface Reporter