Interface Subscription


public interface Subscription
The interface Subscription.
  • Method Details

    • getId

      Integer getId()
      Gets id.
      Returns:
      the id
    • getName

      String getName()
      Gets name of subscription
      Returns:
      the name
    • getPQL

      String getPQL()
      Gets pql (Profields Query Language)
      Returns:
      the pql
    • getCronExpression

      String getCronExpression()
      Gets cron expression in the subscription
      Returns:
      the cron expression
    • getUser

      com.atlassian.jira.user.ApplicationUser getUser()
      Gets owner.
      Returns:
      the user
    • getUserKey

      String getUserKey()
      Gets user key.
      Returns:
      the user key
    • hasAllFieldsOption

      boolean hasAllFieldsOption()
      Has all fields as option
      Returns:
      the boolean
    • hasHighlightOption

      boolean hasHighlightOption()
      Has high light as option
      Returns:
      the boolean
    • getFields

      List<Field> getFields()
      Gets selected fields in the subscription. This options is use when the "allFields" option is false.
      Returns:
      the fields
    • getLastExecution

      Date getLastExecution()
      Gets last execution.
      Returns:
      the last execution
    • getLastExecutionError

      String getLastExecutionError()
      Gets last execution error.
      Returns:
      the last execution error
    • getCreated

      Date getCreated()
      Gets created date.
      Returns:
      the created date