aQute.bnd.ant
Class BaseTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by aQute.bnd.ant.BaseTask
All Implemented Interfaces:
Reporter, Cloneable
Direct Known Subclasses:
BndTask, DeployTask, EclipseTask, ExpandPropertiesTask, PrepareTask, ProjectTask, WrapTask

public class BaseTask
extends org.apache.tools.ant.Task
implements Reporter


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
BaseTask()
           
 
Method Summary
 void error(String s, Object... args)
           
 List<String> getErrors()
           
static File getFile(File base, String file)
           
 List<String> getProgress()
           
 List<String> getWarnings()
           
 boolean isPedantic()
           
protected  String join(Collection<?> classpath, String string)
           
 void progress(String s, Object... args)
           
protected  boolean report()
           
protected  boolean report(Reporter reporter)
           
 void setPedantic(boolean pedantic)
           
 void setTrace(boolean trace)
           
protected  List<String> split(String dependsOn, String string)
           
 void trace(String s, Object... args)
           
 void warning(String s, Object... args)
           
 
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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseTask

public BaseTask()
Method Detail

error

public void error(String s,
                  Object... args)
Specified by:
error in interface Reporter

getErrors

public List<String> getErrors()
Specified by:
getErrors in interface Reporter

getProgress

public List<String> getProgress()

getWarnings

public List<String> getWarnings()
Specified by:
getWarnings in interface Reporter

progress

public void progress(String s,
                     Object... args)
Specified by:
progress in interface Reporter

warning

public void warning(String s,
                    Object... args)
Specified by:
warning in interface Reporter

report

protected boolean report()

report

protected boolean report(Reporter reporter)

getFile

public static File getFile(File base,
                           String file)

split

protected List<String> split(String dependsOn,
                             String string)

join

protected String join(Collection<?> classpath,
                      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(String s,
                  Object... args)
Specified by:
trace in interface Reporter


Copyright © 2010 aQute SARL. All Rights Reserved.