|
|||||||||
| Home >> All >> org >> enhydra >> kelp >> common >> [ wizard overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.enhydra.kelp.common.wizard
Class AbstractBuildTool

java.lang.Objectjava.lang.Thread
org.enhydra.kelp.common.KelpTool
org.enhydra.kelp.common.wizard.AbstractBuildTool
- All Implemented Interfaces:
- org.enhydra.tool.common.event.CancelListener, java.util.EventListener, java.lang.Runnable
- public abstract class AbstractBuildTool
- extends org.enhydra.kelp.common.KelpTool
| Field Summary | |
private boolean |
echo
|
private java.io.PrintWriter |
echoWriter
|
private org.enhydra.kelp.common.node.OtterNode[] |
nodes
|
private org.enhydra.kelp.common.node.OtterProject |
project
|
| Fields inherited from class org.enhydra.kelp.common.KelpTool |
|
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
AbstractBuildTool()
Create a CompileThread with listeners ready to recieve output from XMLC. |
|
AbstractBuildTool(org.enhydra.kelp.common.event.WriteListener[] listeners)
|
|
AbstractBuildTool(org.enhydra.kelp.common.event.WriteListener[] listeners,
boolean buffer)
|
|
| Method Summary | |
java.io.PrintWriter |
getEchoWriter()
|
org.enhydra.kelp.common.node.OtterNode[] |
getNodes()
Get the HTML source files that are to be compiled. |
org.enhydra.kelp.common.node.OtterProject |
getProject()
Get the IDE project that contains the HTML source files to compile. |
boolean |
isEcho()
|
abstract void |
make()
Loop through all selected nodes files and build them. |
void |
printExceptions()
|
abstract void |
printResults()
Determine what files were created and write out the build results to any registered listeners. |
void |
run()
Run the XMLC for all selected HTML files. |
void |
runInCurrentThread()
|
void |
setEcho(boolean b)
|
void |
setNodes(org.enhydra.kelp.common.node.OtterNode[] n)
Set the HTML source files to compile. |
void |
setProject(org.enhydra.kelp.common.node.OtterProject bp)
Set the IDE project that contains the HTML source files to compile. |
void |
sleepInSeconds(double seconds)
Sleep the thread for a given number of seconds. |
| Methods inherited from class org.enhydra.kelp.common.KelpTool |
addProgressListener, getProgressListeners, isFresh, onCancel, refreshProgress, removeProgressListener, setFresh |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
echo
private boolean echo
project
private org.enhydra.kelp.common.node.OtterProject project
nodes
private org.enhydra.kelp.common.node.OtterNode[] nodes
echoWriter
private java.io.PrintWriter echoWriter
| Constructor Detail |
AbstractBuildTool
public AbstractBuildTool()
- Create a CompileThread with listeners ready to
recieve output from XMLC.
AbstractBuildTool
public AbstractBuildTool(org.enhydra.kelp.common.event.WriteListener[] listeners)
AbstractBuildTool
public AbstractBuildTool(org.enhydra.kelp.common.event.WriteListener[] listeners, boolean buffer)
| Method Detail |
make
public abstract void make()
- Loop through all selected nodes files and build them.
Write out exceptions to any registered listeners.
printResults
public abstract void printResults()
- Determine what files were created and write out the
build results to any registered listeners.
getNodes
public org.enhydra.kelp.common.node.OtterNode[] getNodes()
- Get the HTML source files that are to be compiled.
setNodes
public void setNodes(org.enhydra.kelp.common.node.OtterNode[] n)
- Set the HTML source files to compile.
getProject
public org.enhydra.kelp.common.node.OtterProject getProject()
- Get the IDE project that contains the HTML source files to compile.
setProject
public void setProject(org.enhydra.kelp.common.node.OtterProject bp)
- Set the IDE project that contains the HTML source files to compile.
isEcho
public boolean isEcho()
setEcho
public void setEcho(boolean b)
getEchoWriter
public java.io.PrintWriter getEchoWriter()
run
public void run()
- Run the XMLC for all selected HTML files.
runInCurrentThread
public void runInCurrentThread()
printExceptions
public void printExceptions()
sleepInSeconds
public void sleepInSeconds(double seconds)
- Sleep the thread for a given number of seconds.
|
|||||||||
| Home >> All >> org >> enhydra >> kelp >> common >> [ wizard overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC