@Name(value="monitoringAction") @Scope(value=PAGE) public class MonitoringActionBean extends Object implements Serializable
AdministrativeStatusManager
and ProbeManager
services to provide a JSF UI.Modifier and Type | Field and Description |
---|---|
protected NuxeoPrincipal |
currentNuxeoPrincipal |
protected AdministrativeStatus |
editableStatus |
protected static org.apache.commons.logging.Log |
log |
protected String |
newStatusMessage |
protected String |
newStatusValue |
static String |
NUXEO_SERVER_IS_ACTIVE |
static String |
NUXEO_SERVER_MESSAGE |
protected String |
probeName |
protected String |
statusIdentifierToEdit |
Constructor and Description |
---|
MonitoringActionBean() |
Modifier and Type | Method and Description |
---|---|
void |
cancelEdit() |
void |
changeStatus(String serviceId,
String message,
String state) |
void |
editStatus() |
List<AdministrativeStatus> |
getAdministrativeStatuses() |
AdministrativeStatus |
getEditableStatus() |
String |
getNewStatusMessage() |
String |
getNewStatusValue() |
List<ProbeInfo> |
getProbeInfos() |
protected AdministrativeStatusManager |
getStatusManager() |
boolean |
isMultiServerInstallation() |
List<String> |
listNuxeoInstances() |
void |
resetEdit() |
void |
runAllProbes() |
void |
runProbe() |
void |
saveStatus() |
void |
setNewStatusMessage(String newStatusMessage) |
void |
setNewStatusValue(String newStatusValue) |
public static final String NUXEO_SERVER_IS_ACTIVE
public static final String NUXEO_SERVER_MESSAGE
protected static final org.apache.commons.logging.Log log
@In(create=true) protected NuxeoPrincipal currentNuxeoPrincipal
@RequestParameter(value="serviceIdentifier") protected String statusIdentifierToEdit
protected String newStatusMessage
protected String newStatusValue
protected AdministrativeStatus editableStatus
public MonitoringActionBean()
public AdministrativeStatus getEditableStatus()
protected AdministrativeStatusManager getStatusManager()
public List<String> listNuxeoInstances()
@Factory(value="isMultiServerInstallation", scope=EVENT) public boolean isMultiServerInstallation()
public List<AdministrativeStatus> getAdministrativeStatuses()
public void editStatus()
public void saveStatus()
public void cancelEdit()
public void resetEdit()
public void changeStatus(String serviceId, String message, String state)
public List<ProbeInfo> getProbeInfos()
public void runProbe()
public void runAllProbes()
public String getNewStatusMessage()
public void setNewStatusMessage(String newStatusMessage)
public String getNewStatusValue()
public void setNewStatusValue(String newStatusValue)
Copyright © 2018 Nuxeo. All rights reserved.