public interface AdministrativeStatusManager
Modifier and Type | Field and Description |
---|---|
static String |
ACTIVATED_EVENT |
static String |
ADMINISTRATIVE_EVENT_CATEGORY |
static String |
ADMINISTRATIVE_EVENT_INSTANCE |
static String |
ADMINISTRATIVE_EVENT_SERVICE |
static String |
ADMINISTRATIVE_INSTANCE_ID |
static String |
GLOBAL_INSTANCE_AVAILABILITY |
static String |
PASSIVATED_EVENT |
Modifier and Type | Method and Description |
---|---|
AdministrativeStatus |
activate(String serviceIdentifier,
String message,
String login)
Mark a given resource as active.
|
AdministrativeStatus |
activateNuxeoInstance(String message,
String login)
Mark local Nuxeo instance as active.
|
AdministrativeStatus |
deactivate(String serviceIdentifier,
String message,
String login)
Mark a given resource as non active.
|
AdministrativeStatus |
deactivateNuxeoInstance(String message,
String login)
Mark local Nuxeo instance as non active.
|
List<AdministrativeStatus> |
getAllStatuses()
List
AdministrativeStatus for all tracked resources (Servers or Services). |
AdministrativeStatus |
getNuxeoInstanceStatus()
Get the
AdministrativeStatus of a the local Nuxeo Instance. |
AdministrativeStatus |
getStatus(String serviceIdentifier)
Get the
AdministrativeStatus of a given resource. |
AdministrativeStatus |
setNuxeoInstanceStatus(String state,
String message,
String login)
Sets the
AdministrativeStatus of the Local Nuxeo Instance. |
AdministrativeStatus |
setStatus(String serviceIdentifier,
String state,
String message,
String login)
Sets the
AdministrativeStatus of a given resource. |
static final String ADMINISTRATIVE_INSTANCE_ID
static final String GLOBAL_INSTANCE_AVAILABILITY
static final String ADMINISTRATIVE_EVENT_CATEGORY
static final String ADMINISTRATIVE_EVENT_INSTANCE
static final String ADMINISTRATIVE_EVENT_SERVICE
static final String ACTIVATED_EVENT
static final String PASSIVATED_EVENT
List<AdministrativeStatus> getAllStatuses()
AdministrativeStatus
for all tracked resources (Servers or Services).AdministrativeStatus getStatus(String serviceIdentifier)
AdministrativeStatus
of a given resource.AdministrativeStatus getNuxeoInstanceStatus()
AdministrativeStatus
of a the local Nuxeo Instance.AdministrativeStatus setStatus(String serviceIdentifier, String state, String message, String login)
AdministrativeStatus
of a given resource.AdministrativeStatus setNuxeoInstanceStatus(String state, String message, String login)
AdministrativeStatus
of the Local Nuxeo Instance.AdministrativeStatus activate(String serviceIdentifier, String message, String login)
AdministrativeStatus activateNuxeoInstance(String message, String login)
AdministrativeStatus deactivate(String serviceIdentifier, String message, String login)
AdministrativeStatus deactivateNuxeoInstance(String message, String login)
Copyright © 2015 Nuxeo SA. All rights reserved.