org.jvnet.lafwidget.ant
Class AugmentMainTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.jvnet.lafwidget.ant.AugmentMainTask
All Implemented Interfaces:
java.lang.Cloneable

public class AugmentMainTask
extends org.apache.tools.ant.Task

Ant task for augmenting main LAF class. Is based on JiBX ant task (BSD-licensed).

Author:
Kirill Grouchnikov.

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
AugmentMainTask()
           
 
Method Summary
 void addClassPathSet(org.apache.tools.ant.types.FileSet fSet)
           
 void addDelegate(UiDelegateType delegate)
           
 org.apache.tools.ant.types.Path createClasspath()
          Creates the classpath for this task and returns it.
 void execute()
           
 org.apache.tools.ant.types.Path getClasspath()
          Returns the current classpath.
 void init()
           
 void setClasspath(org.apache.tools.ant.types.Path classpath)
          Sets the classpath for this task.
 void setMainlafclassname(java.lang.String string)
           
 void setVerbose(boolean bool)
           
 
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, 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

AugmentMainTask

public AugmentMainTask()
Method Detail

init

public void init()
          throws org.apache.tools.ant.BuildException
Overrides:
init in class org.apache.tools.ant.Task
Throws:
org.apache.tools.ant.BuildException

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Overrides:
execute in class org.apache.tools.ant.Task
Throws:
org.apache.tools.ant.BuildException

addClassPathSet

public void addClassPathSet(org.apache.tools.ant.types.FileSet fSet)
Parameters:
fSet -

addDelegate

public void addDelegate(UiDelegateType delegate)
Parameters:
delegate -

getClasspath

public org.apache.tools.ant.types.Path getClasspath()
Returns the current classpath.

Returns:
Current classpath.

setClasspath

public void setClasspath(org.apache.tools.ant.types.Path classpath)
Sets the classpath for this task. Multiple calls append the new classpath to the current one, rather than overwriting it.

Parameters:
classpath - The new classpath as a Path object.

createClasspath

public org.apache.tools.ant.types.Path createClasspath()
Creates the classpath for this task and returns it. If the classpath has already been created, the method just returns that one.

Returns:
The created classpath.

setMainlafclassname

public void setMainlafclassname(java.lang.String string)
Parameters:
string -

setVerbose

public void setVerbose(boolean bool)
Parameters:
bool -