|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.flagstone.transform.action.NewFunction.Builder
public static final class NewFunction.Builder
The Builder class is used to generate a new NewFunction object using a small set of convenience methods.
| Constructor Summary | |
|---|---|
NewFunction.Builder()
|
|
| Method Summary | |
|---|---|
NewFunction.Builder |
addAction(Action action)
Add an action to the list of actions that will make up the body of the function. |
NewFunction |
build()
Generate an NewFunction using the parameters defined in the Builder. |
NewFunction.Builder |
setArgument(String argName)
Add the name of an argument to the list of arguments that will be passed to the function. |
NewFunction.Builder |
setName(String aString)
Set the name of the function. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NewFunction.Builder()
| Method Detail |
|---|
public NewFunction.Builder setName(String aString)
aString - the name of the function.
public NewFunction.Builder setArgument(String argName)
argName - the name of the argument.
public NewFunction.Builder addAction(Action action)
action - the action to add to the function body.
public NewFunction build()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||