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)
Deprecated.
Use SLF4J
Logger.info(aQute.libg.slf4j.GradleLogging.LIFECYCLE)
instead.
|
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)
Deprecated.
Use SLF4J Logger.debug instead.
|
aQute.service.reporter.Reporter.SetLocation |
warning(java.lang.String s,
java.lang.Object... args) |
bindToOwner, execute, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeprotected 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.Reporterpublic void setPedantic(boolean pedantic)
public void setTrace(boolean trace)
public boolean isTrace()
@Deprecated
public void trace(java.lang.String s,
java.lang.Object... args)
trace in interface aQute.service.reporter.Reporterpublic 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.Reportpublic boolean isOk()
isOk in interface aQute.service.reporter.Reportpublic aQute.service.reporter.Reporter.SetLocation exception(java.lang.Throwable t,
java.lang.String format,
java.lang.Object... args)
exception in interface aQute.service.reporter.Reporterpublic aQute.service.reporter.Reporter.SetLocation error(java.lang.String s,
java.lang.Object... args)
error in interface aQute.service.reporter.Reporterpublic java.util.List<java.lang.String> getErrors()
getErrors in interface aQute.service.reporter.Reportpublic java.util.List<java.lang.String> getWarnings()
getWarnings in interface aQute.service.reporter.Report@Deprecated
public void progress(float progress,
java.lang.String s,
java.lang.Object... args)
progress in interface aQute.service.reporter.Reporterpublic aQute.service.reporter.Reporter.SetLocation warning(java.lang.String s,
java.lang.Object... args)
warning in interface aQute.service.reporter.Reporter