public class NotifierCommand
extends java.lang.Object
implements java.lang.Runnable
Modifier and Type | Field and Description |
---|---|
private javax.ws.rs.client.Client |
client |
private EntityService |
entityService |
private static org.slf4j.Logger |
LOGGER |
private NotificationService |
notificationService |
(package private) static java.lang.String |
OAUTH2_CLIENT_SECRET |
Constructor and Description |
---|
NotifierCommand(NotificationService service,
EntityService entityService,
RestClientBuilder clientBuilder) |
Modifier and Type | Method and Description |
---|---|
java.util.function.Consumer<? super NotificationEntity> |
consumer(java.util.Map<GUID,javax.ws.rs.client.Entity<?>> entities) |
void |
run() |
private static final org.slf4j.Logger LOGGER
static final java.lang.String OAUTH2_CLIENT_SECRET
private final NotificationService notificationService
private final EntityService entityService
private final javax.ws.rs.client.Client client
@Inject public NotifierCommand(NotificationService service, EntityService entityService, RestClientBuilder clientBuilder)
public void run()
run
in interface java.lang.Runnable
public java.util.function.Consumer<? super NotificationEntity> consumer(java.util.Map<GUID,javax.ws.rs.client.Entity<?>> entities)