|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.mojo.appassembler.daemon.script.Platform
public class Platform
| Field Summary | |
|---|---|
static String |
UNIX_NAME
Unix as Platform name. |
static String |
WINDOWS_NAME
Windows Platform name. |
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
static Set |
getAllPlatformNames()
Get the names of all available platforms. |
static Set |
getAllPlatforms()
Get all platforms. |
String |
getAppArguments(Daemon descriptor)
Get the application arguments. |
String |
getBasedir()
|
String |
getBinFileExtension()
|
String |
getClassPath(Daemon daemon)
Get the ClassPath based on the given Daemon. |
String |
getCommentPrefix()
|
String |
getEnvSetup(Daemon daemon)
Get the environment setup file. |
String |
getExtraJvmArguments(JvmSettings jvmSettings)
Get the extra JVMArguments. |
static Platform |
getInstance(String platformName)
Get an instance of the named platform. |
String |
getInterpolationToken()
The interpolation token either for windows or unix. |
String |
getName()
|
String |
getNewLine()
|
String |
getPathSeparator()
|
static Set |
getPlatformSet(List platformList)
Redefine the list of platforms with the given one. |
static Set |
getPlatformSet(List platformList,
Set allSet)
Get back all platforms. |
String |
getRepo()
|
String |
getSeparator()
|
int |
hashCode()
|
boolean |
isShowConsoleWindow(Daemon daemon)
ShowConsole window. |
void |
setBinFileExtension(String binFileExtension)
Set the bin file extension. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String UNIX_NAME
public static final String WINDOWS_NAME
| Method Detail |
|---|
public static Platform getInstance(String platformName)
throws DaemonGeneratorException
platformName - The name of the wished platform.
DaemonGeneratorException - in case of an wrong platformname.public static Set getAllPlatformNames()
public static Set getAllPlatforms()
public static Set getPlatformSet(List platformList)
throws DaemonGeneratorException
platformList - The new list of platforms.
DaemonGeneratorException - in case of an error.
public static Set getPlatformSet(List platformList,
Set allSet)
throws DaemonGeneratorException
platformList - allSet -
DaemonGeneratorExceptionpublic String getInterpolationToken()
public String getBinFileExtension()
public String getBasedir()
public String getRepo()
public String getSeparator()
public String getPathSeparator()
public String getCommentPrefix()
public String getNewLine()
public String getClassPath(Daemon daemon)
throws DaemonGeneratorException
daemon -
DaemonGeneratorException
public String getExtraJvmArguments(JvmSettings jvmSettings)
throws IOException
jvmSettings -
IOExceptionpublic String getAppArguments(Daemon descriptor)
descriptor -
public String getEnvSetup(Daemon daemon)
daemon -
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String getName()
public boolean isShowConsoleWindow(Daemon daemon)
daemon -
public void setBinFileExtension(String binFileExtension)
binFileExtension -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||