org.sonatype.gshell.launcher
Class Configuration

java.lang.Object
  extended by org.sonatype.gshell.launcher.Configuration

public class Configuration
extends Object

Bootstrap configuration.

Since:
2.0
Author:
Jason Dillon

Field Summary
static String BOOTSTRAP_JAR
           
static String BOOTSTRAP_PROPERTIES
           
static String DEFAULT_PROPERTIES
           
static int FAILURE_EXIT_CODE
           
static String SHELL_ETC
           
static String SHELL_HOME
           
static String SHELL_HOME_DETECTED
           
static String SHELL_LIB
           
static String SHELL_MAIN
           
static String SHELL_PROGRAM
           
static String SHELL_VERSION
           
static int SUCCESS_EXIT_CODE
           
 
Constructor Summary
Configuration()
           
 
Method Summary
 void configure()
           
 List<URL> getClassPath()
           
 int getFailureExitCode()
           
 String getMainClass()
           
 int getSuccessExitCode()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SHELL_HOME_DETECTED

public static final String SHELL_HOME_DETECTED
See Also:
Constant Field Values

SHELL_HOME

public static final String SHELL_HOME
See Also:
Constant Field Values

SHELL_ETC

public static final String SHELL_ETC
See Also:
Constant Field Values

SHELL_LIB

public static final String SHELL_LIB
See Also:
Constant Field Values

SHELL_PROGRAM

public static final String SHELL_PROGRAM
See Also:
Constant Field Values

SHELL_VERSION

public static final String SHELL_VERSION
See Also:
Constant Field Values

SHELL_MAIN

public static final String SHELL_MAIN
See Also:
Constant Field Values

DEFAULT_PROPERTIES

public static final String DEFAULT_PROPERTIES
See Also:
Constant Field Values

BOOTSTRAP_PROPERTIES

public static final String BOOTSTRAP_PROPERTIES
See Also:
Constant Field Values

BOOTSTRAP_JAR

public static final String BOOTSTRAP_JAR
See Also:
Constant Field Values

SUCCESS_EXIT_CODE

public static final int SUCCESS_EXIT_CODE
See Also:
Constant Field Values

FAILURE_EXIT_CODE

public static final int FAILURE_EXIT_CODE
See Also:
Constant Field Values
Constructor Detail

Configuration

public Configuration()
Method Detail

configure

public void configure()
               throws Exception
Throws:
Exception

getClassPath

public List<URL> getClassPath()
                       throws Exception
Throws:
Exception

getMainClass

public String getMainClass()

getSuccessExitCode

public int getSuccessExitCode()

getFailureExitCode

public int getFailureExitCode()


Copyright © 2008-2011 Sonatype. All Rights Reserved.