public class VersionBeanFactoryImpl extends Object implements VersionBeanFactory
VersionBeanFactory
.VERSION_OPERATIONS_WEB_LOCATION
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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)
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 operationspublic 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 linkspublic 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 linksCopyright © 2002-2017 Atlassian. All Rights Reserved.