Class SlackAccount
- java.lang.Object
-
- com.floragunn.signals.accounts.Account
-
- com.floragunn.signals.watch.action.handlers.slack.SlackAccount
-
- All Implemented Interfaces:
org.elasticsearch.common.xcontent.ToXContent,org.elasticsearch.common.xcontent.ToXContentObject
public class SlackAccount extends Account
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSlackAccount.Factory-
Nested classes/interfaces inherited from class com.floragunn.signals.accounts.Account
Account.FactoryRegistry
-
-
Field Summary
Fields Modifier and Type Field Description static StringTYPE-
Fields inherited from class com.floragunn.signals.accounts.Account
factoryRegistry
-
-
Constructor Summary
Constructors Constructor Description SlackAccount()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.elasticsearch.search.builder.SearchSourceBuildergetReferencingWatchesQuery()StringgetType()URIgetUrl()voidsetUrl(URI url)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
-
getUrl
public URI getUrl()
-
setUrl
public void setUrl(URI url)
-
getReferencingWatchesQuery
public org.elasticsearch.search.builder.SearchSourceBuilder getReferencingWatchesQuery()
- Specified by:
getReferencingWatchesQueryin classAccount
-
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
-
-