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 String getText(InstanceEvent event, Instance instance)
    • setRestTemplate

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

      @Nullable public URI getUrl()
    • setUrl

      public void setUrl(@Nullable URI url)
    • getUsername

      public String getUsername()
    • setUsername

      public void setUsername(String username)
    • getRoom

      @Nullable public String getRoom()
    • setRoom

      public void setRoom(@Nullable String room)
    • getToken

      @Nullable public String getToken()
    • setToken

      public void setToken(@Nullable String token)
    • getMessage

      public String getMessage()
    • setMessage

      public void setMessage(String message)