com.atlassian.jira.issue.fields.layout.field
Class FieldLayoutItemImpl.Builder

java.lang.Object
  extended by com.atlassian.jira.issue.fields.layout.field.FieldLayoutItemImpl.Builder
Enclosing class:
FieldLayoutItemImpl

public static class FieldLayoutItemImpl.Builder
extends java.lang.Object

Useful for instantiating FieldLayoutItemImpl objects from scratch or copying them.

Since:
v4.2

Constructor Summary
FieldLayoutItemImpl.Builder()
           
FieldLayoutItemImpl.Builder(FieldLayoutItem rhs)
           
 
Method Summary
 FieldLayoutItemImpl build()
           
 FieldLayoutItemImpl.Builder setFieldDescription(java.lang.String fieldDescription)
           
 FieldLayoutItemImpl.Builder setFieldLayout(FieldLayout fieldLayout)
           
 FieldLayoutItemImpl.Builder setFieldManager(FieldManager fieldManager)
           
 FieldLayoutItemImpl.Builder setHidden(boolean hidden)
           
 FieldLayoutItemImpl.Builder setOrderableField(OrderableField orderableField)
           
 FieldLayoutItemImpl.Builder setRendererType(java.lang.String rendererType)
           
 FieldLayoutItemImpl.Builder setRequired(boolean required)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldLayoutItemImpl.Builder

public FieldLayoutItemImpl.Builder()

FieldLayoutItemImpl.Builder

public FieldLayoutItemImpl.Builder(FieldLayoutItem rhs)
Parameters:
rhs - the FieldLayoutItem instance to copy
Method Detail

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(java.lang.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(java.lang.String rendererType)

setRequired

public FieldLayoutItemImpl.Builder setRequired(boolean required)

setFieldManager

public FieldLayoutItemImpl.Builder setFieldManager(FieldManager fieldManager)


Copyright © 2002-2010 Atlassian. All Rights Reserved.