public class VersionBeanFactoryImpl extends Object implements VersionBeanFactory
VersionBeanFactory
.VERSION_OPERATIONS_WEB_LOCATION
Constructor and Description |
---|
VersionBeanFactoryImpl(VersionService versionService,
RemoteVersionLinkService remoteVersionLinkService,
DateFieldFormat dateFieldFormat,
JiraAuthenticationContext authContext,
SimpleLinkManager simpleLinkManager,
JiraBaseUrls baseUrls) |
VersionBeanFactoryImpl(VersionService versionService,
javax.ws.rs.core.UriInfo info,
DateFieldFormat dateFieldFormat,
JiraAuthenticationContext authContext,
SimpleLinkManager simpleLinkManager)
|
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.
|
@Deprecated public VersionBeanFactoryImpl(VersionService versionService, javax.ws.rs.core.UriInfo info, DateFieldFormat dateFieldFormat, JiraAuthenticationContext authContext, SimpleLinkManager simpleLinkManager)
VersionBeanFactoryImpl(VersionService, RemoteVersionLinkService, DateFieldFormat, JiraAuthenticationContext, SimpleLinkManager, JiraBaseUrls)
public VersionBeanFactoryImpl(VersionService versionService, RemoteVersionLinkService remoteVersionLinkService, DateFieldFormat dateFieldFormat, JiraAuthenticationContext authContext, SimpleLinkManager simpleLinkManager, JiraBaseUrls baseUrls)
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-2019 Atlassian. All Rights Reserved.