com.googlecode.ssdutils.jlauncher
Class LaunchConfiguration

java.lang.Object
  extended by com.googlecode.ssdutils.jlauncher.LaunchConfiguration

public class LaunchConfiguration
extends Object

Author:
Sylvain Sicard

Field Summary
protected  Set<Method> launchers
           
protected  Set<Field> options
           
protected  Class<?> runner
           
protected  Object runnerInstance
           
 
Constructor Summary
LaunchConfiguration()
           
 
Method Summary
 Set<Method> getLaunchers()
           
 Set<Field> getOptions()
           
 Class<?> getRunner()
           
 void run(String command)
           
 void setLaunchers(Set<Method> launchers)
           
 void setOptions(Set<Field> options)
           
 void setOptionValue(Field f, String optionValue)
           
 void setRunner(Class<?> runner)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

runner

protected Class<?> runner

runnerInstance

protected Object runnerInstance

options

protected Set<Field> options

launchers

protected Set<Method> launchers
Constructor Detail

LaunchConfiguration

public LaunchConfiguration()
Method Detail

getRunner

public Class<?> getRunner()

setRunner

public void setRunner(Class<?> runner)
               throws InstantiationException,
                      IllegalAccessException
Throws:
InstantiationException
IllegalAccessException

getOptions

public Set<Field> getOptions()

setOptions

public void setOptions(Set<Field> options)

getLaunchers

public Set<Method> getLaunchers()

setLaunchers

public void setLaunchers(Set<Method> launchers)

run

public void run(String command)
         throws IllegalArgumentException,
                IllegalAccessException,
                InvocationTargetException
Throws:
InvocationTargetException
IllegalAccessException
IllegalArgumentException

setOptionValue

public void setOptionValue(Field f,
                           String optionValue)
                    throws IllegalArgumentException,
                           IllegalAccessException
Parameters:
f -
optionValue -
Throws:
IllegalAccessException
IllegalArgumentException


Copyright © 2011. All Rights Reserved.