Interface Subscription
public interface Subscription
The interface Subscription.
-
Method Summary
Modifier and TypeMethodDescriptionGets created date.Gets cron expression in the subscriptionGets selected fields in the subscription.getId()
Gets id.Gets last execution.Gets last execution error.getName()
Gets name of subscriptiongetPQL()
Gets pql (Profields Query Language)com.atlassian.jira.user.ApplicationUser
getUser()
Gets owner.Gets user key.boolean
Has all fields as optionboolean
Has high light as option
-
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
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
-