public class BaseTask
extends org.apache.tools.ant.Task
implements aQute.service.reporter.Reporter
Constructor and Description |
---|
BaseTask() |
Modifier and Type | Method and Description |
---|---|
void |
addProperty(org.apache.tools.ant.taskdefs.Property property) |
void |
addWsproperty(org.apache.tools.ant.taskdefs.Property property) |
aQute.service.reporter.Reporter.SetLocation |
error(java.lang.String s,
java.lang.Object... args) |
aQute.service.reporter.Reporter.SetLocation |
exception(java.lang.Throwable t,
java.lang.String format,
java.lang.Object... args) |
java.util.List<java.lang.String> |
getErrors() |
static java.io.File |
getFile(java.io.File base,
java.lang.String file) |
aQute.service.reporter.Report.Location |
getLocation(java.lang.String msg) |
java.util.List<java.lang.String> |
getWarnings() |
boolean |
isExceptions() |
boolean |
isOk() |
boolean |
isPedantic() |
boolean |
isTrace() |
protected java.lang.String |
join(java.util.Collection<?> classpath,
java.lang.String string) |
void |
progress(float progress,
java.lang.String s,
java.lang.Object... args) |
protected boolean |
report() |
protected boolean |
report(aQute.service.reporter.Reporter reporter) |
void |
setExceptions(boolean exceptions) |
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) |
aQute.service.reporter.Reporter.SetLocation |
warning(java.lang.String s,
java.lang.Object... args) |
execute, getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
protected boolean report()
protected boolean report(aQute.service.reporter.Reporter reporter)
public static java.io.File getFile(java.io.File base, java.lang.String file)
protected java.util.List<java.lang.String> split(java.lang.String dependsOn, java.lang.String string)
protected java.lang.String join(java.util.Collection<?> classpath, java.lang.String string)
public boolean isPedantic()
isPedantic
in interface aQute.service.reporter.Reporter
public void setPedantic(boolean pedantic)
public void setTrace(boolean trace)
public boolean isTrace()
public void trace(java.lang.String s, java.lang.Object... args)
trace
in interface aQute.service.reporter.Reporter
public void addProperty(org.apache.tools.ant.taskdefs.Property property)
public void addWsproperty(org.apache.tools.ant.taskdefs.Property property)
public boolean isExceptions()
public void setExceptions(boolean exceptions)
public aQute.service.reporter.Report.Location getLocation(java.lang.String msg)
getLocation
in interface aQute.service.reporter.Report
public boolean isOk()
isOk
in interface aQute.service.reporter.Report
public aQute.service.reporter.Reporter.SetLocation exception(java.lang.Throwable t, java.lang.String format, java.lang.Object... args)
exception
in interface aQute.service.reporter.Reporter
public aQute.service.reporter.Reporter.SetLocation error(java.lang.String s, java.lang.Object... args)
error
in interface aQute.service.reporter.Reporter
public java.util.List<java.lang.String> getErrors()
getErrors
in interface aQute.service.reporter.Report
public java.util.List<java.lang.String> getWarnings()
getWarnings
in interface aQute.service.reporter.Report
public void progress(float progress, java.lang.String s, java.lang.Object... args)
progress
in interface aQute.service.reporter.Reporter
public aQute.service.reporter.Reporter.SetLocation warning(java.lang.String s, java.lang.Object... args)
warning
in interface aQute.service.reporter.Reporter