Package com.adobe.reef.siren.builder
Class ActionBuilder
- java.lang.Object
-
- com.adobe.reef.siren.builder.Builder<Action>
-
- com.adobe.reef.siren.builder.ActionBuilder
-
-
Constructor Summary
Constructors Constructor Description ActionBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActionBuilder
addField(Field field)
ActionBuilder
clear()
Resets all fields to their default values.ActionBuilder
setClass(java.lang.String[] clazz)
ActionBuilder
setFields(java.util.List<Field> fields)
ActionBuilder
setHref(java.lang.String href)
ActionBuilder
setMethod(Action.Method method)
ActionBuilder
setName(java.lang.String name)
ActionBuilder
setTitle(java.lang.String title)
ActionBuilder
setType(java.lang.String type)
-
-
-
Method Detail
-
setName
public ActionBuilder setName(java.lang.String name)
-
setClass
public ActionBuilder setClass(java.lang.String[] clazz)
-
setMethod
public ActionBuilder setMethod(Action.Method method)
-
setHref
public ActionBuilder setHref(java.lang.String href)
-
setTitle
public ActionBuilder setTitle(java.lang.String title)
-
setType
public ActionBuilder setType(java.lang.String type)
-
setFields
public ActionBuilder setFields(java.util.List<Field> fields)
-
addField
public ActionBuilder addField(Field field)
-
clear
public ActionBuilder clear()
Description copied from class:Builder
Resets all fields to their default values.
-
-