org.codehaus.mojo.appassembler.daemon.script
Interface ScriptGenerator

All Known Implementing Classes:
DefaultScriptGenerator

public interface ScriptGenerator

Version:
$Id: ScriptGenerator.java 18142 2013-04-01 12:09:59Z khmarbaise $
Author:
Trygve Laugstøl

Field Summary
static String ROLE
          Define the role.
 
Method Summary
 void createBinScript(String platform, Daemon daemon, File outputDirectory, String binFolder)
          Generate the binary script based on platform, daemon into the given outputDirectory and the binFolder.
 

Field Detail

ROLE

static final String ROLE
Define the role.

Method Detail

createBinScript

void createBinScript(String platform,
                     Daemon daemon,
                     File outputDirectory,
                     String binFolder)
                     throws DaemonGeneratorException
Generate the binary script based on platform, daemon into the given outputDirectory and the binFolder.

Parameters:
platform - 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 - in case of an error.


Copyright © 2006-2013 Codehaus. All Rights Reserved.