org.codehaus.mojo.appassembler.daemon.script
Class DefaultScriptGenerator

java.lang.Object
  extended by org.codehaus.plexus.logging.AbstractLogEnabled
      extended by org.codehaus.mojo.appassembler.daemon.script.DefaultScriptGenerator
All Implemented Interfaces:
ScriptGenerator, org.codehaus.plexus.logging.LogEnabled

public class DefaultScriptGenerator
extends org.codehaus.plexus.logging.AbstractLogEnabled
implements ScriptGenerator

Version:
$Id: DefaultScriptGenerator.java 15699 2012-01-06 19:07:03Z khmarbaise $
Author:
Trygve Laugstøl

Field Summary
 
Fields inherited from interface org.codehaus.mojo.appassembler.daemon.script.ScriptGenerator
ROLE
 
Constructor Summary
DefaultScriptGenerator()
           
 
Method Summary
 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.
 
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultScriptGenerator

public DefaultScriptGenerator()
Method Detail

createBinScript

public void createBinScript(String platformName,
                            Daemon daemon,
                            File outputDirectory,
                            String binFolder)
                     throws DaemonGeneratorException
Description copied from interface: ScriptGenerator
Generate the binary script based on platform, daemon into the given outputDirectory and the binFolder.

Specified by:
createBinScript in interface ScriptGenerator
Parameters:
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.
Throws:
DaemonGeneratorException


Copyright © 2006-2012 Codehaus. All Rights Reserved.