|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.jira.rest.v2.issue.version.VersionBeanFactoryImpl
public class VersionBeanFactoryImpl
Implementation of VersionBeanFactory
.
Field Summary |
---|
Fields inherited from interface com.atlassian.jira.rest.v2.issue.version.VersionBeanFactory |
---|
VERSION_OPERATIONS_WEB_LOCATION |
Constructor Summary | |
---|---|
VersionBeanFactoryImpl(VersionService versionService,
javax.ws.rs.core.UriInfo info,
DateFieldFormat dateFieldFormat,
JiraAuthenticationContext authContext,
SimpleLinkManager simpleLinkManager)
|
Method Summary | |
---|---|
VersionBean |
createVersionBean(Version version)
Create a VersionBean given the passed Version. |
VersionBean |
createVersionBean(Version version,
boolean expandOps)
Create a VersionBean given the passed Version and whether or not to include available operations. |
List<VersionBean> |
createVersionBeans(Collection<? extends Version> versions)
Create a list of VersionBeans given the passed Versions. |
List<VersionBean> |
createVersionBeans(Collection<? extends Version> versions,
boolean expandOps)
Create a list of VersionBeans given the passed Versions. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VersionBeanFactoryImpl(VersionService versionService, javax.ws.rs.core.UriInfo info, DateFieldFormat dateFieldFormat, JiraAuthenticationContext authContext, SimpleLinkManager simpleLinkManager)
Method Detail |
---|
public VersionBean createVersionBean(Version version)
VersionBeanFactory
createVersionBean
in interface VersionBeanFactory
version
- the version to convert.
public VersionBean createVersionBean(Version version, boolean expandOps)
VersionBeanFactory
createVersionBean
in interface VersionBeanFactory
version
- the version to convert.expandOps
- whether or not to include the operations
public List<VersionBean> createVersionBeans(Collection<? extends Version> versions)
VersionBeanFactory
createVersionBeans
in interface VersionBeanFactory
versions
- the versions to convert.
public List<VersionBean> createVersionBeans(Collection<? extends Version> versions, boolean expandOps)
VersionBeanFactory
createVersionBeans
in interface VersionBeanFactory
versions
- the versions to convert.expandOps
- whether or not to include available operations.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |