Class JiraAccount

  • All Implemented Interfaces:
    org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentObject

    public class JiraAccount
    extends com.floragunn.signals.accounts.Account
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  JiraAccount.Factory  
      • Nested classes/interfaces inherited from class com.floragunn.signals.accounts.Account

        com.floragunn.signals.accounts.Account.FactoryRegistry
      • Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent

        org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.Params
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String TYPE  
      • Fields inherited from class com.floragunn.signals.accounts.Account

        factoryRegistry
      • Fields inherited from interface org.elasticsearch.xcontent.ToXContent

        EMPTY_PARAMS
    • Constructor Detail

      • JiraAccount

        public JiraAccount​(URI url,
                           String userName,
                           String authToken)
    • Method Detail

      • toXContent

        public org.elasticsearch.xcontent.XContentBuilder toXContent​(org.elasticsearch.xcontent.XContentBuilder builder,
                                                                     org.elasticsearch.xcontent.ToXContent.Params params)
                                                              throws IOException
        Throws:
        IOException
      • getReferencingWatchesQuery

        public org.elasticsearch.search.builder.SearchSourceBuilder getReferencingWatchesQuery()
        Specified by:
        getReferencingWatchesQuery in class com.floragunn.signals.accounts.Account
      • getType

        public String getType()
        Specified by:
        getType in class com.floragunn.signals.accounts.Account
      • getUrl

        public URI getUrl()
      • setUrl

        public void setUrl​(URI url)
      • getUserName

        public String getUserName()
      • setUserName

        public void setUserName​(String userName)
      • getAuthToken

        public String getAuthToken()
      • setAuthToken

        public void setAuthToken​(String authToken)