Interface AdministrativeStatusManager
- All Known Implementing Classes:
AdministrativeStatusManagerImpl
public interface AdministrativeStatusManager
Service interface used to manage AdministrativeStatus of Nuxeo's services on a given Nuxeo Instance (node)
- Author:
- tiry
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionMark a given resource as active.activateNuxeoInstance
(String message, String login) Mark local Nuxeo instance as active.deactivate
(String serviceIdentifier, String message, String login) Mark a given resource as non active.deactivateNuxeoInstance
(String message, String login) Mark local Nuxeo instance as non active.ListAdministrativeStatus
for all tracked resources (Servers or Services).Get theAdministrativeStatus
of a the local Nuxeo Instance.Get theAdministrativeStatus
of a given resource.setNuxeoInstanceStatus
(String state, String message, String login) Sets theAdministrativeStatus
of the Local Nuxeo Instance.Sets theAdministrativeStatus
of a given resource.
-
Field Details
-
ADMINISTRATIVE_INSTANCE_ID
- See Also:
-
GLOBAL_INSTANCE_AVAILABILITY
- See Also:
-
ADMINISTRATIVE_EVENT_CATEGORY
- See Also:
-
ADMINISTRATIVE_EVENT_INSTANCE
- See Also:
-
ADMINISTRATIVE_EVENT_SERVICE
- See Also:
-
ACTIVATED_EVENT
- See Also:
-
PASSIVATED_EVENT
- See Also:
-
-
Method Details
-
getAllStatuses
List<AdministrativeStatus> getAllStatuses()ListAdministrativeStatus
for all tracked resources (Servers or Services). -
getStatus
Get theAdministrativeStatus
of a given resource. -
getNuxeoInstanceStatus
AdministrativeStatus getNuxeoInstanceStatus()Get theAdministrativeStatus
of a the local Nuxeo Instance. -
setStatus
AdministrativeStatus setStatus(String serviceIdentifier, String state, String message, String login) Sets theAdministrativeStatus
of a given resource. -
setNuxeoInstanceStatus
Sets theAdministrativeStatus
of the Local Nuxeo Instance. -
activate
Mark a given resource as active. -
activateNuxeoInstance
Mark local Nuxeo instance as active. -
deactivate
Mark a given resource as non active. -
deactivateNuxeoInstance
Mark local Nuxeo instance as non active.
-