public enum LocalVariableBehavior extends Enum<LocalVariableBehavior>
| Enum Constant and Description | 
|---|
| BSFSpecifies that a sharing variable works for BSF JRuby Engine. | 
| GLOBALSpecifies that a sharing variable works like JSR 223 reference implementation. | 
| PERSISTENTSpecifies that Ruby's local variables survive over multiple evaluations. | 
| TRANSIENTSpecifies that Ruby's local variables have faithful behavior to its semantics. | 
| Modifier and Type | Method and Description | 
|---|---|
| static LocalVariableBehavior | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static LocalVariableBehavior[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final LocalVariableBehavior GLOBAL
public static final LocalVariableBehavior PERSISTENT
public static final LocalVariableBehavior TRANSIENT
public static final LocalVariableBehavior BSF
public static LocalVariableBehavior[] values()
for (LocalVariableBehavior c : LocalVariableBehavior.values()) System.out.println(c);
public static LocalVariableBehavior 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 nullCopyright © 2001-2015 JRuby. All Rights Reserved.