com.flagstone.transform.action
Class Push.Builder

java.lang.Object
  extended by com.flagstone.transform.action.Push.Builder
Enclosing class:
Push

public static final class Push.Builder
extends Object

The Builder class is used to generate a new Push object.


Constructor Summary
Push.Builder()
           
 
Method Summary
 Push.Builder add(Object value)
          Adds a value to the list.
 Push build()
          Generate a Push using the set of values defined in the Builder.
 Push.Builder clear()
          Clear the list of values added to the Builder.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Push.Builder

public Push.Builder()
Method Detail

add

public Push.Builder add(Object value)
Adds a value to the list.

Parameters:
value - a value that will be pushed onto the Flash Player's stack when the action is executed.
Returns:
this object.

clear

public Push.Builder clear()
Clear the list of values added to the Builder.

Returns:
this object.

build

public Push build()
Generate a Push using the set of values defined in the Builder.

Returns:
an initialized Push object.


Copyright © 2002-2010 Flagstone Software Ltd.. All Rights Reserved.