public class ScriptInfo extends Object
Constructor and Description |
---|
ScriptInfo() |
Modifier and Type | Method and Description |
---|---|
void |
addTrait(Trait t)
Add a
trait to the script. |
MethodInfo |
getInit()
Get the script's initialization method.
|
Traits |
getTraits()
Get this script's
Traits . |
void |
setInit(MethodInfo i)
Set the script's initialization method.
|
public void setInit(MethodInfo i)
i
- the initialization method's method info
.public MethodInfo getInit()
method info
.Copyright © 2016 The Apache Software Foundation. All rights reserved.