public class ThresholdAPIImpl extends AbstractMoskitoAPIImpl implements ThresholdAPI
| Constructor and Description |
|---|
ThresholdAPIImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
createThreshold(ThresholdPO po) |
protected GuardedDirection |
enumName2direction(String param) |
List<ThresholdAlertAO> |
getAlerts() |
List<ThresholdConditionGuard> |
getGuardsForThreshold(String thresholdId) |
ThresholdDefinitionAO |
getThresholdDefinition(String id)
Returns threshold definition by id.
|
List<ThresholdDefinitionAO> |
getThresholdDefinitions() |
List<ThresholdStatusAO> |
getThresholdStatuses() |
List<ThresholdStatusAO> |
getThresholdStatuses(String... names) |
ThresholdStatus |
getWorstStatus() |
ThresholdStatus |
getWorstStatus(List<String> thresholdNames)
Returns the worst status for the thresholds.
|
protected boolean |
hasDots(String... params) |
void |
removeThreshold(String id) |
protected GuardedDirection |
string2direction(String param) |
void |
updateThreshold(String thresholdId,
ThresholdPO po) |
addValidationError, addValidationError, checkValidationAndThrowException, deInit, getApiConfig, getAttributeFromSession, getCallContext, getCurrentLocale, getCurrentUserId, getDefaultExpirePeriodForAttribute, getExpirePeriodForAttribute, getLoggedInUserId, getPrivateAttributeName, getSession, init, removeAttributeFromSession, setAttributeInSession, setAttributeInSession, setAttributeInSession, setAttributeInSessionpublic List<ThresholdAlertAO> getAlerts()
getAlerts in interface ThresholdAPIprotected boolean hasDots(String... params)
protected GuardedDirection string2direction(String param)
protected GuardedDirection enumName2direction(String param)
public void updateThreshold(String thresholdId, ThresholdPO po) throws net.anotheria.anoplass.api.APIException
updateThreshold in interface ThresholdAPInet.anotheria.anoplass.api.APIExceptionpublic void createThreshold(ThresholdPO po) throws net.anotheria.anoplass.api.APIException
createThreshold in interface ThresholdAPInet.anotheria.anoplass.api.APIExceptionpublic void removeThreshold(String id)
removeThreshold in interface ThresholdAPIpublic List<ThresholdStatusAO> getThresholdStatuses() throws net.anotheria.anoplass.api.APIException
getThresholdStatuses in interface ThresholdAPInet.anotheria.anoplass.api.APIExceptionpublic List<ThresholdStatusAO> getThresholdStatuses(String... names) throws net.anotheria.anoplass.api.APIException
getThresholdStatuses in interface ThresholdAPInet.anotheria.anoplass.api.APIExceptionpublic List<ThresholdDefinitionAO> getThresholdDefinitions() throws net.anotheria.anoplass.api.APIException
getThresholdDefinitions in interface ThresholdAPInet.anotheria.anoplass.api.APIExceptionpublic ThresholdStatus getWorstStatus() throws net.anotheria.anoplass.api.APIException
getWorstStatus in interface ThresholdAPInet.anotheria.anoplass.api.APIExceptionpublic ThresholdStatus getWorstStatus(List<String> thresholdNames) throws net.anotheria.anoplass.api.APIException
ThresholdAPIgetWorstStatus in interface ThresholdAPInet.anotheria.anoplass.api.APIExceptionpublic ThresholdDefinitionAO getThresholdDefinition(String id) throws net.anotheria.anoplass.api.APIException
ThresholdAPIgetThresholdDefinition in interface ThresholdAPInet.anotheria.anoplass.api.APIExceptionpublic List<ThresholdConditionGuard> getGuardsForThreshold(String thresholdId) throws net.anotheria.anoplass.api.APIException
getGuardsForThreshold in interface ThresholdAPInet.anotheria.anoplass.api.APIExceptionCopyright © 2010-2015 anotheria.net. All Rights Reserved.