|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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,
RemoteVersionLinkService remoteVersionLinkService,
javax.ws.rs.core.UriInfo info,
DateFieldFormat dateFieldFormat,
JiraAuthenticationContext authContext,
SimpleLinkManager simpleLinkManager)
|
|
VersionBeanFactoryImpl(VersionService versionService,
javax.ws.rs.core.UriInfo info,
DateFieldFormat dateFieldFormat,
JiraAuthenticationContext authContext,
SimpleLinkManager simpleLinkManager)
This constructor is still present for backwards compatibility with JIRA mobile which unfortunately makes use of what is not public api. |
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, but will not contain remote links. |
VersionBean |
createVersionBean(Version version,
boolean expandOps,
boolean expandRemoteLinks)
Create a VersionBean given the passed Version and whether or not to include available operations, but will not contain remote links. |
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. |
List<VersionBean> |
createVersionBeans(Collection<? extends Version> versions,
boolean expandOps,
boolean expandRemoteLinks)
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)
public VersionBeanFactoryImpl(VersionService versionService, RemoteVersionLinkService remoteVersionLinkService, 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 VersionBean createVersionBean(Version version, boolean expandOps, boolean expandRemoteLinks)
VersionBeanFactory
createVersionBean
in interface VersionBeanFactory
version
- the version to convert.expandOps
- whether or not to include the operationsexpandRemoteLinks
- whether or not to include the remote entity links
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.
public List<VersionBean> createVersionBeans(Collection<? extends Version> versions, boolean expandOps, boolean expandRemoteLinks)
VersionBeanFactory
createVersionBeans
in interface VersionBeanFactory
versions
- the versions to convert.expandOps
- whether or not to include available operations.expandRemoteLinks
- whether or not to include the remote entity links
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |