public class PatchedStatusUpdater
extends de.codecentric.boot.admin.registry.StatusUpdater
Constructor and Description |
---|
PatchedStatusUpdater(de.codecentric.boot.admin.registry.store.ApplicationStore store,
de.codecentric.boot.admin.web.client.ApplicationOperations applicationOps,
org.springframework.web.client.RestTemplate restTemplate) |
Modifier and Type | Method and Description |
---|---|
boolean |
isActive() |
protected de.codecentric.boot.admin.model.StatusInfo |
queryStatus(de.codecentric.boot.admin.model.Application application) |
void |
setActive(boolean active) |
void |
setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher publisher) |
void |
updateStatus(de.codecentric.boot.admin.model.Application application) |
public PatchedStatusUpdater(de.codecentric.boot.admin.registry.store.ApplicationStore store, de.codecentric.boot.admin.web.client.ApplicationOperations applicationOps, org.springframework.web.client.RestTemplate restTemplate)
public void updateStatus(de.codecentric.boot.admin.model.Application application)
updateStatus
in class de.codecentric.boot.admin.registry.StatusUpdater
public void setActive(boolean active)
public boolean isActive()
public void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher publisher)
setApplicationEventPublisher
in interface org.springframework.context.ApplicationEventPublisherAware
setApplicationEventPublisher
in class de.codecentric.boot.admin.registry.StatusUpdater
protected de.codecentric.boot.admin.model.StatusInfo queryStatus(de.codecentric.boot.admin.model.Application application)
queryStatus
in class de.codecentric.boot.admin.registry.StatusUpdater
Copyright © 2017. All rights reserved.