All Implemented Interfaces:
Notifier

public class LetsChatNotifier extends AbstractStatusChangeNotifier
Notifier submitting events to let´s Chat.
Author:
Rico Pahlisch
  • Constructor Details

    • LetsChatNotifier

      public LetsChatNotifier(InstanceRepository repository, org.springframework.web.client.RestTemplate restTemplate)
  • Method Details

    • doNotify

      protected reactor.core.publisher.Mono<Void> doNotify(InstanceEvent event, Instance instance)
      Specified by:
      doNotify in class AbstractEventNotifier
    • createMessage

      protected Object createMessage(InstanceEvent event, Instance instance)
    • getText

      @Nullable protected @Nullable String getText(InstanceEvent event, Instance instance)
    • setRestTemplate

      public void setRestTemplate(org.springframework.web.client.RestTemplate restTemplate)
    • setUrl

      public void setUrl(@Nullable @Nullable URI url)
    • getUrl

      @Nullable public @Nullable URI getUrl()
    • setUsername

      public void setUsername(String username)
    • getUsername

      public String getUsername()
    • setRoom

      public void setRoom(@Nullable @Nullable String room)
    • getRoom

      @Nullable public @Nullable String getRoom()
    • setToken

      public void setToken(@Nullable @Nullable String token)
    • getToken

      @Nullable public @Nullable String getToken()
    • setMessage

      public void setMessage(String message)
    • getMessage

      public String getMessage()