public abstract class Condition extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
Condition.Type |
| Modifier and Type | Field and Description |
|---|---|
protected String |
conditionId
A composed key for the condition
|
protected int |
conditionSetIndex
Index of the current condition
i.e.
|
protected int |
conditionSetSize
Number of conditions associated with a particular trigger.
|
protected Map<String,String> |
context |
protected String |
tenantId |
protected String |
triggerId
The owning trigger
|
protected Mode |
triggerMode
The owning trigger's mode when this condition is active
|
protected Condition.Type |
type |
| Constructor and Description |
|---|
Condition() |
Condition(String tenantId,
String triggerId,
Mode triggerMode,
int conditionSetSize,
int conditionSetIndex,
Condition.Type type) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getConditionId() |
int |
getConditionSetIndex() |
int |
getConditionSetSize() |
Map<String,String> |
getContext() |
abstract String |
getDataId() |
String |
getTenantId() |
String |
getTriggerId() |
Mode |
getTriggerMode() |
Condition.Type |
getType() |
int |
hashCode() |
void |
setConditionSetIndex(int conditionSetIndex) |
void |
setConditionSetSize(int conditionSetSize) |
void |
setContext(Map<String,String> context) |
void |
setTenantId(String tenantId) |
void |
setTriggerId(String triggerId) |
void |
setTriggerMode(Mode triggerMode) |
String |
toString() |
protected String tenantId
protected String triggerId
protected Mode triggerMode
protected Condition.Type type
protected int conditionSetSize
protected int conditionSetIndex
protected String conditionId
public Condition()
public Condition(String tenantId, String triggerId, Mode triggerMode, int conditionSetSize, int conditionSetIndex, Condition.Type type)
public int getConditionSetIndex()
public void setConditionSetIndex(int conditionSetIndex)
public int getConditionSetSize()
public void setConditionSetSize(int conditionSetSize)
public String getTriggerId()
public void setTriggerId(String triggerId)
public Mode getTriggerMode()
public void setTriggerMode(Mode triggerMode)
public String getConditionId()
public String getTenantId()
public void setTenantId(String tenantId)
public Condition.Type getType()
public abstract String getDataId()
Copyright © 2015–2017 Red Hat, Inc.. All rights reserved.