public class NotifierCommand
extends java.lang.Object
implements java.lang.Runnable
Modifier and Type | Field and Description |
---|---|
private NotificationConfiguration |
config |
private EntityService |
entityService |
private static java.time.format.DateTimeFormatter |
FORMATTER |
private static org.slf4j.Logger |
LOGGER |
private NotificationService |
notificationService |
(package private) static java.lang.String |
OAUTH2_CLIENT_SECRET |
private RestClientBuilder |
restClientBuilder |
Constructor and Description |
---|
NotifierCommand(NotificationConfiguration config,
NotificationService service,
RestClientBuilder builder,
EntityService entityService) |
Modifier and Type | Method and Description |
---|---|
void |
run() |
private static final java.time.format.DateTimeFormatter FORMATTER
private static final org.slf4j.Logger LOGGER
private final NotificationService notificationService
private final RestClientBuilder restClientBuilder
private final EntityService entityService
private final NotificationConfiguration config
static final java.lang.String OAUTH2_CLIENT_SECRET
@Inject public NotifierCommand(NotificationConfiguration config, NotificationService service, RestClientBuilder builder, EntityService entityService)