de.saumya.mojo.ruby.script
Class GemScriptFactory

java.lang.Object
  extended by de.saumya.mojo.ruby.script.ScriptFactory
      extended by de.saumya.mojo.ruby.script.GemScriptFactory

public class GemScriptFactory
extends ScriptFactory


Field Summary
static String GEM_HOME
           
static String GEM_PATH
           
 
Fields inherited from class de.saumya.mojo.ruby.script.ScriptFactory
NO_CLASSPATH
 
Constructor Summary
GemScriptFactory(Logger logger, org.codehaus.classworlds.ClassRealm classRealm, File jrubyJar, File stdlibJar, List<String> classpathElements, boolean fork, GemsConfig config)
           
 
Method Summary
 Map<String,String> environment()
           
 Script newScriptFromSearchPath(String scriptName)
           
 
Methods inherited from class de.saumya.mojo.ruby.script.ScriptFactory
addEnv, addEnv, addEnvs, addJvmArgs, addSwitch, addSwitch, addSwitches, newArguments, newScript, newScript, newScriptFromJRubyJar, newScriptFromResource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

GEM_HOME

public static final String GEM_HOME
See Also:
Constant Field Values

GEM_PATH

public static final String GEM_PATH
See Also:
Constant Field Values
Constructor Detail

GemScriptFactory

public GemScriptFactory(Logger logger,
                        org.codehaus.classworlds.ClassRealm classRealm,
                        File jrubyJar,
                        File stdlibJar,
                        List<String> classpathElements,
                        boolean fork,
                        GemsConfig config)
                 throws ScriptException,
                        IOException
Throws:
ScriptException
IOException
Method Detail

environment

public Map<String,String> environment()
Overrides:
environment in class ScriptFactory

newScriptFromSearchPath

public Script newScriptFromSearchPath(String scriptName)
                               throws IOException
Overrides:
newScriptFromSearchPath in class ScriptFactory
Throws:
IOException


Copyright © 2012. All Rights Reserved.