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.LocationNested 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, wrapperFields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddProperty(org.apache.tools.ant.taskdefs.Property property) voidaddWsproperty(org.apache.tools.ant.taskdefs.Property property) aQute.service.reporter.Reporter.SetLocationaQute.service.reporter.Reporter.SetLocationprotected aQute.bnd.build.ProjectgetBndProject(File basedir) static FileaQute.service.reporter.Report.LocationgetLocation(String msg) booleanbooleanisOk()booleanbooleanisTrace()protected Stringjoin(Collection<?> classpath, String string) voidDeprecated.Use SLF4J Logger.info() instead.protected booleanreport()protected booleanreport(aQute.service.reporter.Reporter reporter) voidsetExceptions(boolean exceptions) voidsetPedantic(boolean pedantic) voidsetTrace(boolean trace) voidDeprecated.Use SLF4J Logger.debug instead.aQute.service.reporter.Reporter.SetLocationMethods 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, setTaskTypeMethods 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:
isPedanticin 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:
tracein 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:
getLocationin interfaceaQute.service.reporter.Report
-
isOk
public boolean isOk()- Specified by:
isOkin interfaceaQute.service.reporter.Report
-
exception
public aQute.service.reporter.Reporter.SetLocation exception(Throwable t, String format, Object... args) - Specified by:
exceptionin interfaceaQute.service.reporter.Reporter
-
error
- Specified by:
errorin interfaceaQute.service.reporter.Reporter
-
getErrors
- Specified by:
getErrorsin interfaceaQute.service.reporter.Report
-
getWarnings
- Specified by:
getWarningsin interfaceaQute.service.reporter.Report
-
progress
Deprecated.Use SLF4J Logger.info() instead.- Specified by:
progressin interfaceaQute.service.reporter.Reporter
-
warning
- Specified by:
warningin interfaceaQute.service.reporter.Reporter
-
getBndProject
-