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