public class DynamicCompilerAdderImpl extends AbstractCompilerAdder implements com.cerner.ccl.j4ccl.adders.DynamicCompilerAdder<DynamicCompilerAdderImpl>
DynamicCompilerAdder.| Constructor and Description |
|---|
DynamicCompilerAdderImpl(File sourceFile,
CommandQueue queue)
Create an object that adds a dynamic include file compiler command to the given queue.
|
| Modifier and Type | Method and Description |
|---|---|
void |
commit() |
DynamicCompilerAdderImpl |
withDebugModeEnabled(boolean debugModeEnabled) |
DynamicCompilerAdderImpl |
withDependency(File file) |
DynamicCompilerAdderImpl |
withListingOutput(File file) |
DynamicCompilerAdderImpl |
withScriptName(String scriptName) |
addDependency, doDebugCompile, getDependencies, getListingLocation, hasListingLocationDefined, setDoDebugCompile, setListingLocationpublic DynamicCompilerAdderImpl(File sourceFile, CommandQueue queue)
sourceFile - A File object representing the location of the source code to be compiled.queue - A CommandQueue object to which this will contribute a script compilation call.IllegalArgumentException - If the given source code location does not end in a ".inc" or ".sub" file extension.public DynamicCompilerAdderImpl withDebugModeEnabled(boolean debugModeEnabled)
withDebugModeEnabled in interface com.cerner.ccl.j4ccl.adders.ScriptCompilerAdder<DynamicCompilerAdderImpl>public DynamicCompilerAdderImpl withDependency(File file)
withDependency in interface com.cerner.ccl.j4ccl.adders.ScriptCompilerAdder<DynamicCompilerAdderImpl>public DynamicCompilerAdderImpl withListingOutput(File file)
withListingOutput in interface com.cerner.ccl.j4ccl.adders.ScriptCompilerAdder<DynamicCompilerAdderImpl>public DynamicCompilerAdderImpl withScriptName(String scriptName)
withScriptName in interface com.cerner.ccl.j4ccl.adders.DynamicCompilerAdder<DynamicCompilerAdderImpl>public void commit()
commit in interface com.cerner.ccl.j4ccl.adders.AdderCopyright © 2019. All rights reserved.