Package aQute.bnd.ant
Class BaseTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
aQute.bnd.ant.BaseTask
- All Implemented Interfaces:
aQute.service.reporter.Report
,aQute.service.reporter.Reporter
,Cloneable
- Direct Known Subclasses:
BndTask
,DeployTask
,EclipseTask
,ExpandPropertiesTask
,PackageTask
,PrepareTask
,ProjectBuildOrderTask
,ProjectTask
,ReleaseTask
,RunBundlesTask
,RunconfigToDistributionTask
,TestTask
,WrapTask
public class BaseTask
extends org.apache.tools.ant.Task
implements aQute.service.reporter.Reporter
-
Nested Class Summary
Nested classes/interfaces inherited from interface aQute.service.reporter.Report
aQute.service.reporter.Report.Location
Nested classes/interfaces inherited from interface aQute.service.reporter.Reporter
aQute.service.reporter.Reporter.SetLocation
-
Field Summary
Fields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapper
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addProperty
(org.apache.tools.ant.taskdefs.Property property) void
addWsproperty
(org.apache.tools.ant.taskdefs.Property property) aQute.service.reporter.Reporter.SetLocation
aQute.service.reporter.Reporter.SetLocation
static File
aQute.service.reporter.Report.Location
getLocation
(String msg) boolean
boolean
isOk()
boolean
boolean
isTrace()
protected String
join
(Collection<?> classpath, String string) void
Deprecated.Use SLF4J Logger.info() instead.protected boolean
report()
protected boolean
report
(aQute.service.reporter.Reporter reporter) void
setExceptions
(boolean exceptions) void
setPedantic
(boolean pedantic) void
setTrace
(boolean trace) void
Deprecated.Use SLF4J Logger.debug instead.aQute.service.reporter.Reporter.SetLocation
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, execute, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
-
Constructor Details
-
BaseTask
public BaseTask()
-
-
Method Details
-
report
protected boolean report() -
report
protected boolean report(aQute.service.reporter.Reporter reporter) -
getFile
-
split
-
join
-
isPedantic
public boolean isPedantic()- Specified by:
isPedantic
in interfaceaQute.service.reporter.Reporter
-
setPedantic
public void setPedantic(boolean pedantic) -
setTrace
public void setTrace(boolean trace) -
isTrace
public boolean isTrace() -
trace
Deprecated.Use SLF4J Logger.debug instead.- Specified by:
trace
in interfaceaQute.service.reporter.Reporter
-
addProperty
public void addProperty(org.apache.tools.ant.taskdefs.Property property) -
addWsproperty
public void addWsproperty(org.apache.tools.ant.taskdefs.Property property) -
isExceptions
public boolean isExceptions() -
setExceptions
public void setExceptions(boolean exceptions) -
getLocation
- Specified by:
getLocation
in interfaceaQute.service.reporter.Report
-
isOk
public boolean isOk()- Specified by:
isOk
in interfaceaQute.service.reporter.Report
-
exception
public aQute.service.reporter.Reporter.SetLocation exception(Throwable t, String format, Object... args) - Specified by:
exception
in interfaceaQute.service.reporter.Reporter
-
error
- Specified by:
error
in interfaceaQute.service.reporter.Reporter
-
getErrors
- Specified by:
getErrors
in interfaceaQute.service.reporter.Report
-
getWarnings
- Specified by:
getWarnings
in interfaceaQute.service.reporter.Report
-
progress
Deprecated.Use SLF4J Logger.info() instead.- Specified by:
progress
in interfaceaQute.service.reporter.Reporter
-
warning
- Specified by:
warning
in interfaceaQute.service.reporter.Reporter
-