public static enum RubyInstanceConfig.CompileMode extends Enum<RubyInstanceConfig.CompileMode>
Modifier and Type | Method and Description |
---|---|
boolean |
shouldJIT() |
boolean |
shouldPrecompileAll() |
boolean |
shouldPrecompileCLI() |
static RubyInstanceConfig.CompileMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RubyInstanceConfig.CompileMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RubyInstanceConfig.CompileMode JIT
public static final RubyInstanceConfig.CompileMode FORCE
public static final RubyInstanceConfig.CompileMode FORCEIR
public static final RubyInstanceConfig.CompileMode OFF
public static final RubyInstanceConfig.CompileMode OFFIR
public static RubyInstanceConfig.CompileMode[] values()
for (RubyInstanceConfig.CompileMode c : RubyInstanceConfig.CompileMode.values()) System.out.println(c);
public static RubyInstanceConfig.CompileMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean shouldPrecompileCLI()
public boolean shouldJIT()
public boolean shouldPrecompileAll()
Copyright © 2001-2014 JRuby. All Rights Reserved.