com.atlassian.jira.rest.v2.issue
Class AbstractMetaFieldBeanBuilder

java.lang.Object
  extended by com.atlassian.jira.rest.v2.issue.AbstractMetaFieldBeanBuilder
Direct Known Subclasses:
CreateMetaFieldBeanBuilder, EditMetaFieldBeanBuilder, TransitionMetaFieldBeanBuilder

public abstract class AbstractMetaFieldBeanBuilder
extends Object

Builder for FieldMetaBean instances..

Since:
v5.0

Field Summary
protected  JiraBaseUrls baseUrls
           
protected  FieldLayoutManager fieldLayoutManager
           
protected  Issue issue
           
protected  IssueType issueType
           
protected  Project project
           
protected  com.atlassian.crowd.embedded.api.User user
           
 
Constructor Summary
AbstractMetaFieldBeanBuilder(FieldLayoutManager fieldLayoutManager, Project project, Issue issue, IssueType issueType, com.atlassian.crowd.embedded.api.User user, VersionBeanFactory versionBeanFactory, VelocityRequestContextFactory velocityRequestContextFactory, ContextUriInfo contextUriInfo, JiraBaseUrls baseUrls)
           
AbstractMetaFieldBeanBuilder(FieldLayoutManager fieldLayoutManager, Project project, IssueType issueType, com.atlassian.crowd.embedded.api.User user, VersionBeanFactory versionBeanFactory, VelocityRequestContextFactory velocityRequestContextFactory, ContextUriInfo contextUriInfo, JiraBaseUrls baseUrls)
           
 
Method Summary
 Map<String,FieldMetaBean> build()
           
 void fieldsToInclude(List<String> includeFields)
           
protected  Collection<?> getAllowedValueBeans(OrderableField field, Collection<?> allowedValues)
           
protected  FieldMetaBean getFieldMetaBean(FieldLayoutItem fieldLayoutItem, OrderableField field, boolean forceRequired)
           
protected  JsonType getJsonType(RestAwareField field)
           
abstract  OperationContext getOperationContext()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fieldLayoutManager

protected final FieldLayoutManager fieldLayoutManager

project

protected Project project

issueType

protected IssueType issueType

user

protected com.atlassian.crowd.embedded.api.User user

issue

protected Issue issue

baseUrls

protected JiraBaseUrls baseUrls
Constructor Detail

AbstractMetaFieldBeanBuilder

public AbstractMetaFieldBeanBuilder(FieldLayoutManager fieldLayoutManager,
                                    Project project,
                                    Issue issue,
                                    IssueType issueType,
                                    com.atlassian.crowd.embedded.api.User user,
                                    VersionBeanFactory versionBeanFactory,
                                    VelocityRequestContextFactory velocityRequestContextFactory,
                                    ContextUriInfo contextUriInfo,
                                    JiraBaseUrls baseUrls)

AbstractMetaFieldBeanBuilder

public AbstractMetaFieldBeanBuilder(FieldLayoutManager fieldLayoutManager,
                                    Project project,
                                    IssueType issueType,
                                    com.atlassian.crowd.embedded.api.User user,
                                    VersionBeanFactory versionBeanFactory,
                                    VelocityRequestContextFactory velocityRequestContextFactory,
                                    ContextUriInfo contextUriInfo,
                                    JiraBaseUrls baseUrls)
Method Detail

fieldsToInclude

public void fieldsToInclude(List<String> includeFields)

build

public Map<String,FieldMetaBean> build()

getFieldMetaBean

protected FieldMetaBean getFieldMetaBean(FieldLayoutItem fieldLayoutItem,
                                         OrderableField field,
                                         boolean forceRequired)

getJsonType

protected JsonType getJsonType(RestAwareField field)

getAllowedValueBeans

protected Collection<?> getAllowedValueBeans(OrderableField field,
                                             Collection<?> allowedValues)

getOperationContext

public abstract OperationContext getOperationContext()


Copyright © 2002-2011 Atlassian. All Rights Reserved.