public interface ScriptAttributes
Modifier and Type | Interface and Description |
---|---|
static interface |
ScriptAttributes.All
This interface is for accessing both ENGINE and GLOBAL scopes with precision.
|
Modifier and Type | Method and Description |
---|---|
Object |
getAttribute(String name)
Fetch the value of the named attribute.
|
Object getAttribute(String name)
If the attribute name is found in ENGINE scope, it is returned. If it is not in the ENGINE scope, then the value is fetched from GLOBAL scope. If not present in either scope, NULL is returned.
name
- The name of the attribute to get, or null if not found.