public class DefaultScriptGenerator extends org.codehaus.plexus.logging.AbstractLogEnabled implements ScriptGenerator
ROLE
Constructor and Description |
---|
DefaultScriptGenerator() |
Modifier and Type | Method and Description |
---|---|
void |
createBinScript(String platformName,
Daemon daemon,
File outputDirectory,
String binFolder)
Generate the binary script based on platform, daemon into the given outputDirectory and the binFolder.
|
public void createBinScript(String platformName, Daemon daemon, File outputDirectory, String binFolder) throws DaemonGeneratorException
ScriptGenerator
createBinScript
in interface ScriptGenerator
platformName
- The platform.daemon
- The Daemon.outputDirectory
- The output folder where the script will be generated into.binFolder
- The bin folder which will be appended to the outputDirectory.DaemonGeneratorException
- in case of an error.Copyright © 2006–2015 Codehaus. All rights reserved.