org.kuali.rice.kew.api.action
Class ValidActions.Builder

java.lang.Object
  extended by org.kuali.rice.kew.api.action.ValidActions.Builder
All Implemented Interfaces:
Serializable, ModelBuilder
Enclosing class:
ValidActions

public static final class ValidActions.Builder
extends Object
implements Serializable, ModelBuilder

A builder which can be used to construct ValidActions instances.

See Also:
Serialized Form

Method Summary
 void addValidAction(ActionType validAction)
           
 ValidActions build()
          Returns an instance of the object being built by this builder based on the current state of the builder.
static ValidActions.Builder create()
           
 Set<ActionType> getValidActions()
           
 void setValidActions(Set<ActionType> validActions)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static ValidActions.Builder create()

build

public ValidActions build()
Description copied from interface: ModelBuilder
Returns an instance of the object being built by this builder based on the current state of the builder. It should be possible to invoke this method more than once on the same builder. It should never return null;

Specified by:
build in interface ModelBuilder
Returns:
an instance of the object being built by this builder, should never return null

getValidActions

public Set<ActionType> getValidActions()

setValidActions

public void setValidActions(Set<ActionType> validActions)

addValidAction

public void addValidAction(ActionType validAction)


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.