org.codehaus.mojo.appassembler
Class Daemon

java.lang.Object
  extended by org.codehaus.mojo.appassembler.Daemon

public class Daemon
extends Object

Version:
$Id: Daemon.java 18582 2013-07-31 15:58:06Z dennisl $
Author:
Trygve Laugstøl

Constructor Summary
Daemon()
           
 
Method Summary
 List getCommandLineArguments()
          Get the list of command line arguments.
 String getConfigurationDirectory()
          Return the configuration directory.
 String getDescriptor()
          The descriptor.
 String getEnvironmentSetupFileName()
          The file name as string.
 List getGeneratorConfigurations()
          Return the generator configurations.
 String getId()
          The daemon id which must be unique.
 JvmSettings getJvmSettings()
          Get the current JVM settings.
 String getLicenseHeaderFile()
          Return the name of the license header file.
 String getMainClass()
          The FQN of the main class.
 List getPlatforms()
          The list of platforms.
 String getRepositoryName()
          Return the repository name.
 boolean isShowConsoleWindow()
          Return the state of the showConsoleWindow flag.
 void setEnvironmentSetupFileName(String environmentSetupFileName)
          Define the environment setup file name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Daemon

public Daemon()
Method Detail

getId

public String getId()
The daemon id which must be unique.

Returns:
The name of the id.

getMainClass

public String getMainClass()
The FQN of the main class.

Returns:
The name of the main class.

getDescriptor

public String getDescriptor()
The descriptor.

Returns:
The descriptor string.

getPlatforms

public List getPlatforms()
The list of platforms.

Returns:
The list of platforms or an empty list if non have been defined before.

getCommandLineArguments

public List getCommandLineArguments()
Get the list of command line arguments.

Returns:
The list of command line arguments.

getConfigurationDirectory

public String getConfigurationDirectory()
Return the configuration directory.

Returns:
The configuration directory.

getJvmSettings

public JvmSettings getJvmSettings()
Get the current JVM settings.

Returns:
The instance with the current JVM settings back.

getGeneratorConfigurations

public List getGeneratorConfigurations()
Return the generator configurations.

Returns:
The list of generator configurations.

getLicenseHeaderFile

public String getLicenseHeaderFile()
Return the name of the license header file.

Returns:
The name of the license header file.

getRepositoryName

public String getRepositoryName()
Return the repository name.

Returns:
The repository name.

isShowConsoleWindow

public boolean isShowConsoleWindow()
Return the state of the showConsoleWindow flag.

Returns:
true if ShowConsoleWindow is active false otherwise.

getEnvironmentSetupFileName

public String getEnvironmentSetupFileName()
The file name as string.

Returns:
The environment setup file name.

setEnvironmentSetupFileName

public void setEnvironmentSetupFileName(String environmentSetupFileName)
Define the environment setup file name.

Parameters:
environmentSetupFileName - The filename as string.


Copyright © 2006-2013 Codehaus. All Rights Reserved.