Interface VersionBeanFactory
- All Known Implementing Classes:
VersionBeanFactoryImpl
public interface VersionBeanFactory
Simple factory used to create version beans from versions.
- Since:
- v4.4
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncreateVersionBean
(Version version) Create a VersionBean given the passed Version.createVersionBean
(Version version, boolean expandOps) Deprecated.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.createVersionBeans
(Collection<? extends Version> versions) Create a list of VersionBeans given the passed Versions.createVersionBeans
(Collection<? extends Version> versions, boolean expandOps) Deprecated.UsecreateVersionBeans(Collection, boolean, boolean)
instead.createVersionBeans
(Collection<? extends Version> versions, boolean expandOps, boolean expandRemoteLinks) Create a list of VersionBeans given the passed Versions.
-
Field Details
-
VERSION_OPERATIONS_WEB_LOCATION
- See Also:
-
-
Method Details
-
createVersionBean
Create a VersionBean given the passed Version. Will not include available operations or remote links.- Parameters:
version
- the version to convert.- Returns:
- the VersionBean from the passed Version.
-
createVersionBean
Deprecated.UsecreateVersionBean(com.atlassian.jira.project.version.Version, boolean, boolean)
instead. Since JIRA REST v6.5.1 (JIRA v6.1.1)Create a VersionBean given the passed Version and whether or not to include available operations, but will not contain remote links.- Parameters:
version
- the version to convert.expandOps
- whether or not to include the operations- Returns:
- the VersionBean from the passed Version.
-
createVersionBean
Create a VersionBean given the passed Version and whether or not to include available operations, but will not contain remote links.- Parameters:
version
- the version to convert.expandOps
- whether or not to include the operationsexpandRemoteLinks
- whether or not to include the remote entity links- Returns:
- the VersionBean from the passed Version.
- Since:
- JIRA REST v6.5.1 (JIRA v6.1.1)
-
createVersionBeans
Create a list of VersionBeans given the passed Versions. This will not include available operations- Parameters:
versions
- the versions to convert.- Returns:
- the VersionBeans for the passed Versions.
-
createVersionBeans
Deprecated.UsecreateVersionBeans(Collection, boolean, boolean)
instead. Since JIRA REST v6.5.1 (JIRA v6.1.1)Create a list of VersionBeans given the passed Versions.- Parameters:
versions
- the versions to convert.expandOps
- whether or not to include available operations.- Returns:
- the VersionBeans for the passed Versions.
-
createVersionBeans
List<VersionBean> createVersionBeans(Collection<? extends Version> versions, boolean expandOps, boolean expandRemoteLinks) Create a list of VersionBeans given the passed Versions.- Parameters:
versions
- the versions to convert.expandOps
- whether or not to include available operations.expandRemoteLinks
- whether or not to include the remote entity links- Returns:
- the VersionBeans for the passed Versions.
- Since:
- JIRA REST v6.5.1 (JIRA v6.1.1)
-
createVersionBean(com.atlassian.jira.project.version.Version, boolean, boolean)
instead.