public abstract class AbstractAlertCondition extends Object implements EmbeddedPersistable, AlertCondition
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractAlertCondition.CheckResult |
static class |
AbstractAlertCondition.NoSuchAlertConditionTypeException |
static class |
AbstractAlertCondition.Type |
| Modifier and Type | Field and Description |
|---|---|
protected org.joda.time.DateTime |
createdAt |
protected String |
creatorUserId |
protected int |
grace |
protected String |
id |
protected Stream |
stream |
protected AbstractAlertCondition.Type |
type |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractAlertCondition(Stream stream,
String id,
AbstractAlertCondition.Type type,
org.joda.time.DateTime createdAt,
String creatorUserId,
Map<String,Object> parameters) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getBacklog() |
org.joda.time.DateTime |
getCreatedAt() |
String |
getCreatorUserId() |
int |
getGrace() |
String |
getId() |
Map<String,Object> |
getParameters() |
Map<String,Object> |
getPersistedFields() |
Stream |
getStream() |
AbstractAlertCondition.Type |
getType() |
String |
getTypeString() |
protected abstract AbstractAlertCondition.CheckResult |
runCheck(Indexer indexer) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDescription, getSearchHitsprotected final String id
protected final Stream stream
protected final AbstractAlertCondition.Type type
protected final org.joda.time.DateTime createdAt
protected final String creatorUserId
protected final int grace
protected abstract AbstractAlertCondition.CheckResult runCheck(Indexer indexer)
public String getId()
getId in interface AlertConditionpublic AbstractAlertCondition.Type getType()
public String getTypeString()
getTypeString in interface AlertConditionpublic org.joda.time.DateTime getCreatedAt()
getCreatedAt in interface AlertConditionpublic String getCreatorUserId()
getCreatorUserId in interface AlertConditionpublic Stream getStream()
getStream in interface AlertConditionpublic Map<String,Object> getParameters()
getParameters in interface AlertConditionpublic Integer getBacklog()
getBacklog in interface AlertConditionpublic Map<String,Object> getPersistedFields()
getPersistedFields in interface EmbeddedPersistablepublic int getGrace()
getGrace in interface AlertConditionCopyright © 2012–2014 TORCH GmbH. All rights reserved.