com.atlassian.jira.issue.fields.layout.field
Class FieldLayoutItemImpl.Builder
java.lang.Object
com.atlassian.jira.issue.fields.layout.field.FieldLayoutItemImpl.Builder
- Enclosing class:
- FieldLayoutItemImpl
public static class FieldLayoutItemImpl.Builder
- extends Object
Useful for instantiating FieldLayoutItemImpl
objects from scratch or copying them.
- Since:
- v4.2
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FieldLayoutItemImpl.Builder
public FieldLayoutItemImpl.Builder()
FieldLayoutItemImpl.Builder
public FieldLayoutItemImpl.Builder(FieldLayoutItem rhs)
- Parameters:
rhs
- the FieldLayoutItem instance to copy
build
public FieldLayoutItemImpl build()
- Returns:
- a new
FieldLayoutItemImpl
instance. If a FieldManager
was not set, the result of
ManagerFactory.getFieldManager()
will be used.
setFieldDescription
public FieldLayoutItemImpl.Builder setFieldDescription(String fieldDescription)
setFieldLayout
public FieldLayoutItemImpl.Builder setFieldLayout(FieldLayout fieldLayout)
setHidden
public FieldLayoutItemImpl.Builder setHidden(boolean hidden)
setOrderableField
public FieldLayoutItemImpl.Builder setOrderableField(OrderableField orderableField)
setRendererType
public FieldLayoutItemImpl.Builder setRendererType(String rendererType)
setRequired
public FieldLayoutItemImpl.Builder setRequired(boolean required)
setFieldManager
public FieldLayoutItemImpl.Builder setFieldManager(FieldManager fieldManager)
Copyright © 2002-2012 Atlassian. All Rights Reserved.