Package com.codebarrel.jira.software
Class NativeSoftwareClient
java.lang.Object
com.codebarrel.jira.software.NativeSoftwareClient
- All Implemented Interfaces:
SoftwareClient
-
Constructor Summary
ConstructorsConstructorDescriptionNativeSoftwareClient(ApplicationUser actor, JiraSoftwareService jiraSoftwareService, VersionService versionService, JiraAuthenticationContext jiraAuthenticationContext, I18nHelper.BeanFactory i18nFactory, com.atlassian.greenhopper.service.rapid.view.RapidViewService rapidViewService, NativeBoardsService boardsService, ProjectManager projectManager, ApplicationAuthorizationService applicationAuthorizationService) -
Method Summary
Modifier and TypeMethodDescriptionio.atlassian.fugue.Either<ErrorCollection, VersionBean> createVersion(CreateUpdateVersionRequest versionRequest) getActiveSprint(long boardId) getBoardConfiguration(long boardId) getNextSprint(long boardId) getVersion(Long projectId, String versionName) booleanisBoardAccessible(long boardId) io.atlassian.fugue.Either<ErrorCollection, VersionBean> releaseNextUnreleasedVersion(Long projectId, ReleaseDateConfig releaseDate) io.atlassian.fugue.Either<ErrorCollection, VersionBean> releaseVersion(Long projectId, String versionName, ReleaseDateConfig releaseDate) static VersionBeantoVersionBean(Version version) io.atlassian.fugue.Either<ErrorCollection, VersionBean> unreleaseVersion(Long projectId, VersionBean version)
-
Constructor Details
-
NativeSoftwareClient
public NativeSoftwareClient(ApplicationUser actor, JiraSoftwareService jiraSoftwareService, VersionService versionService, JiraAuthenticationContext jiraAuthenticationContext, I18nHelper.BeanFactory i18nFactory, com.atlassian.greenhopper.service.rapid.view.RapidViewService rapidViewService, NativeBoardsService boardsService, ProjectManager projectManager, ApplicationAuthorizationService applicationAuthorizationService)
-
-
Method Details
-
getBoardConfiguration
- Specified by:
getBoardConfigurationin interfaceSoftwareClient
-
isBoardAccessible
public boolean isBoardAccessible(long boardId) - Specified by:
isBoardAccessiblein interfaceSoftwareClient
-
getActiveSprint
- Specified by:
getActiveSprintin interfaceSoftwareClient
-
getNextSprint
- Specified by:
getNextSprintin interfaceSoftwareClient
-
getVersion
- Specified by:
getVersionin interfaceSoftwareClient
-
createVersion
public io.atlassian.fugue.Either<ErrorCollection,VersionBean> createVersion(CreateUpdateVersionRequest versionRequest) - Specified by:
createVersionin interfaceSoftwareClient
-
releaseVersion
public io.atlassian.fugue.Either<ErrorCollection,VersionBean> releaseVersion(Long projectId, String versionName, ReleaseDateConfig releaseDate) - Specified by:
releaseVersionin interfaceSoftwareClient
-
releaseNextUnreleasedVersion
public io.atlassian.fugue.Either<ErrorCollection,VersionBean> releaseNextUnreleasedVersion(Long projectId, ReleaseDateConfig releaseDate) - Specified by:
releaseNextUnreleasedVersionin interfaceSoftwareClient
-
unreleaseVersion
public io.atlassian.fugue.Either<ErrorCollection,VersionBean> unreleaseVersion(Long projectId, VersionBean version) - Specified by:
unreleaseVersionin interfaceSoftwareClient
-
toVersionBean
-