| Modifier and Type | Field and Description |
|---|---|
| public static final LocalVariableBehavior | BSF
Specifies that a sharing variable works for BSF JRuby Engine. |
| public static final LocalVariableBehavior | GLOBAL
Specifies that a sharing variable works like JSR 223 reference implementation. |
| public static final LocalVariableBehavior | PERSISTENT
Specifies that Ruby's local variables survive over multiple evaluations. |
| public static final LocalVariableBehavior | TRANSIENT
Specifies that Ruby's local variables have faithful behavior to its semantics. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static LocalVariableBehavior | |
| public static LocalVariableBehavior[] |
| BSF | back to summary |
|---|---|
| public static final LocalVariableBehavior BSF Specifies that a sharing variable works for BSF JRuby Engine. Variable names in Java are mapped to global variables in Ruby when it is shared through org.apache.bsf.BSFDeclaredBean. | |
| GLOBAL | back to summary |
|---|---|
| public static final LocalVariableBehavior GLOBAL Specifies that a sharing variable works like JSR 223 reference implementation. Variable names in Java are mapped to global variables in Ruby. | |
| PERSISTENT | back to summary |
|---|---|
| public static final LocalVariableBehavior PERSISTENT Specifies that Ruby's local variables survive over multiple evaluations. | |
| TRANSIENT | back to summary |
|---|---|
| public static final LocalVariableBehavior TRANSIENT Specifies that Ruby's local variables have faithful behavior to its semantics. Local variables do not survive over an evaluation. All local variables will vanish after every evaluation. | |
| LocalVariableBehavior | back to summary |
|---|---|
| private LocalVariableBehavior() | |
| valueOf | back to summary |
|---|---|
| public static LocalVariableBehavior valueOf(String name) | |
| values | back to summary |
|---|---|
| public static LocalVariableBehavior[] values() | |