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

java.lang.Object
  extended by org.codehaus.mojo.appassembler.daemon.script.Platform

public class Platform
extends Object

Version:
$Id: Platform.java 6588 2008-03-28 12:22:57Z bentmann $
Author:
Trygve Laugstøl

Field Summary
static String UNIX_NAME
           
static String WINDOWS_NAME
           
 
Method Summary
 boolean equals(Object o)
           
static Set getAllPlatformNames()
           
static Set getAllPlatforms()
           
 String getAppArguments(Daemon descriptor)
           
 String getBasedir()
           
 String getBinFileExtension()
           
 String getClassPath(Daemon daemon)
           
 String getEnvSetup(Daemon daemon)
           
 String getExtraJvmArguments(JvmSettings jvmSettings)
           
static Platform getInstance(String platformName)
           
 String getInterpolationToken()
           
 String getName()
           
 String getPathSeparator()
           
static Set getPlatformSet(List platformList)
           
static Set getPlatformSet(List platformList, Set allSet)
           
 String getRepo()
           
 String getSeparator()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNIX_NAME

public static final String UNIX_NAME
See Also:
Constant Field Values

WINDOWS_NAME

public static final String WINDOWS_NAME
See Also:
Constant Field Values
Method Detail

getInstance

public static Platform getInstance(String platformName)
                            throws DaemonGeneratorException
Throws:
DaemonGeneratorException

getAllPlatformNames

public static Set getAllPlatformNames()

getAllPlatforms

public static Set getAllPlatforms()

getPlatformSet

public static Set getPlatformSet(List platformList)
                          throws DaemonGeneratorException
Throws:
DaemonGeneratorException

getPlatformSet

public static Set getPlatformSet(List platformList,
                                 Set allSet)
                          throws DaemonGeneratorException
Throws:
DaemonGeneratorException

getInterpolationToken

public String getInterpolationToken()

getBinFileExtension

public String getBinFileExtension()

getBasedir

public String getBasedir()

getRepo

public String getRepo()

getSeparator

public String getSeparator()

getPathSeparator

public String getPathSeparator()

getClassPath

public String getClassPath(Daemon daemon)
                    throws DaemonGeneratorException
Throws:
DaemonGeneratorException

getExtraJvmArguments

public String getExtraJvmArguments(JvmSettings jvmSettings)

getAppArguments

public String getAppArguments(Daemon descriptor)

getEnvSetup

public String getEnvSetup(Daemon daemon)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getName

public String getName()


Copyright © 2006-2011 Codehaus. All Rights Reserved.