org.enhydra.kelp.common
Class AbstractNodeBuilder

public abstract class AbstractNodeBuilder
extends AbstractEchoBuilder
Author:
Paul Mahar
Constructor Detail

AbstractNodeBuilder

public AbstractNodeBuilder(WriteListener[] listeners)
Create a CompileThread with listeners ready to recieve output from XMLC.
Parameters:
listeners - A listener implements an onWrite method that is called whenever XMLC writes output. The writes are captured for display in a wizard.

Method Detail

printResults

public abstract void printResults()
Determine what files were created and write out the build results to any registered listeners.

getNodes

public OtterFileNode[] getNodes()
Get the file nodes that are to be built.

setNodes

public void setNodes(OtterFileNode[] n)
Set the file nodes to compile.

sleepInSeconds

public void sleepInSeconds(double seconds)
Sleep the thread for a given number of seconds.
Parameters:
seconds - How many seconds to sleep.