org.jvnet.lafwidget.ant
Class AugmentContainerGhostingTask

java.lang.Object
  extended by Task
      extended by org.jvnet.lafwidget.ant.AugmentContainerGhostingTask

public class AugmentContainerGhostingTask
extends Task

Ant task for augmenting LAF classes with image ghosting functionality. Is based on JiBX ant task (BSD-licensed).


Constructor Summary
AugmentContainerGhostingTask()
           
 
Method Summary
 void addClassPathSet(FileSet fSet)
           
 void addContainerGhosting(ContainerGhostingType containerGhosting)
          Adds information on a single class-method pair for injecting the container ghosting code.
 Path createClasspath()
          Creates the classpath for this task and returns it.
 void execute()
           
 Path getClasspath()
          Returns the current classpath.
 void init()
           
 void setClasspath(Path classpath)
          Sets the classpath for this task.
 void setVerbose(boolean bool)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AugmentContainerGhostingTask

public AugmentContainerGhostingTask()
Method Detail

init

public void init()
          throws BuildException
Throws:
BuildException

execute

public void execute()
             throws BuildException
Throws:
BuildException

addClassPathSet

public void addClassPathSet(FileSet fSet)
Parameters:
fSet -

addContainerGhosting

public void addContainerGhosting(ContainerGhostingType containerGhosting)
Adds information on a single class-method pair for injecting the container ghosting code.

Parameters:
containerGhosting - Class-method pair for injecting the container ghosting code.

getClasspath

public Path getClasspath()
Returns the current classpath.

Returns:
Current classpath.

setClasspath

public void setClasspath(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 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.

setVerbose

public void setVerbose(boolean bool)
Parameters:
bool -