Class JiraAccount
- java.lang.Object
-
- com.floragunn.signals.accounts.Account
-
- com.floragunn.signals.enterprise.watch.action.handlers.jira.JiraAccount
-
- All Implemented Interfaces:
org.elasticsearch.common.xcontent.ToXContent,org.elasticsearch.common.xcontent.ToXContentObject
public class JiraAccount extends com.floragunn.signals.accounts.Account
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJiraAccount.Factory
-
Constructor Summary
Constructors Constructor Description JiraAccount(URI url, String userName, String authToken)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAuthToken()org.elasticsearch.search.builder.SearchSourceBuildergetReferencingWatchesQuery()StringgetType()URIgetUrl()StringgetUserName()voidsetAuthToken(String authToken)voidsetUrl(URI url)voidsetUserName(String userName)org.elasticsearch.common.xcontent.XContentBuildertoXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)-
Methods inherited from class com.floragunn.signals.accounts.Account
create, getId, getScopedId, isInUse, isInUse, parse, setId, toJson
-
-
-
-
Field Detail
-
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
toXContent
public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws IOException- Throws:
IOException
-
getReferencingWatchesQuery
public org.elasticsearch.search.builder.SearchSourceBuilder getReferencingWatchesQuery()
- Specified by:
getReferencingWatchesQueryin classcom.floragunn.signals.accounts.Account
-
getType
public String getType()
- Specified by:
getTypein classcom.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)
-
-