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(String[] clazz)
ActionBuilder
setFields(List<Field> fields)
ActionBuilder
setHref(String href)
ActionBuilder
setMethod(Action.Method method)
ActionBuilder
setName(String name)
ActionBuilder
setTitle(String title)
ActionBuilder
setType(String type)
-
-
-
Method Detail
-
setName
public ActionBuilder setName(String name)
-
setClass
public ActionBuilder setClass(String[] clazz)
-
setMethod
public ActionBuilder setMethod(Action.Method method)
-
setHref
public ActionBuilder setHref(String href)
-
setTitle
public ActionBuilder setTitle(String title)
-
setType
public ActionBuilder setType(String type)
-
setFields
public ActionBuilder setFields(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.
-
-