Class NativeStatusClient

java.lang.Object
com.codebarrel.jira.status.NativeStatusClient
All Implemented Interfaces:
StatusClient

@Component public class NativeStatusClient extends Object implements StatusClient
  • Constructor Details

  • Method Details

    • getStatuses

      public Set<StatusBean> getStatuses(String projectKeyOrId)
      Description copied from interface: StatusClient
      Returns a set of all valid statuses in the given project across all issue types.
      Specified by:
      getStatuses in interface StatusClient
      Parameters:
      projectKeyOrId - the project to retrieve statuses for
      Returns:
      a set of all valid statuses in the given project across all issue types.
    • getStatuses

      public Set<StatusBean> getStatuses()
      Description copied from interface: StatusClient
      Returns a set of all valid statuses across the whole instance
      Specified by:
      getStatuses in interface StatusClient
      Returns:
      a set of all valid statuses across the whole instance
    • getStatusById

      public Optional<StatusBean> getStatusById(Long statusId)
      Description copied from interface: StatusClient
      Returns the status which matches the given ID
      Specified by:
      getStatusById in interface StatusClient
      Parameters:
      statusId - id of the status to fetch
      Returns:
      a Optional depending on whether a matching status can be found