Package org.togglz.slack
Class SlackStateRepository
- java.lang.Object
-
- org.togglz.slack.SlackStateRepository
-
- All Implemented Interfaces:
StateRepository
public class SlackStateRepository extends Object implements StateRepository
- Since:
- 2.4.0
- Author:
- Tomasz SkowroĊski
-
-
Constructor Summary
Constructors Constructor Description SlackStateRepository(StateRepository wrappedRepository, NotificationConfiguration configuration)SlackStateRepository(StateRepository wrappedRepository, NotificationConfiguration configuration, UserProvider userProvider)Main constructor.SlackStateRepository(StateRepository wrappedRepository, org.togglz.slack.SlackNotifications slackNotifications)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FeatureStategetFeatureState(Feature feature)voidsetFeatureState(FeatureState featureState)
-
-
-
Constructor Detail
-
SlackStateRepository
public SlackStateRepository(StateRepository wrappedRepository, NotificationConfiguration configuration, UserProvider userProvider)
Main constructor. For more information see /slack/README.md.
-
SlackStateRepository
public SlackStateRepository(StateRepository wrappedRepository, NotificationConfiguration configuration)
-
SlackStateRepository
public SlackStateRepository(StateRepository wrappedRepository, org.togglz.slack.SlackNotifications slackNotifications)
-
-
Method Detail
-
getFeatureState
public FeatureState getFeatureState(Feature feature)
- Specified by:
getFeatureStatein interfaceStateRepository
-
setFeatureState
public void setFeatureState(FeatureState featureState)
- Specified by:
setFeatureStatein interfaceStateRepository
-
-