public class FieldValueChangedCondition extends SpecificFieldCondition
CONDITION_TYPE_CATALOG_SETTINGS_CHANGED, CONDITION_TYPE_FIELD_VALUE_CHANGED, CONDITION_TYPE_RECORD_CATEGORY_ADDED, CONDITION_TYPE_RECORD_CATEGORY_DELETED
Constructor and Description |
---|
FieldValueChangedCondition(GUID fieldUID)
Creates an unbound condition for the given field.
|
Modifier and Type | Method and Description |
---|---|
Condition |
cloneForCatalog(Catalog destinationCatalog,
java.lang.String defaultTableName)
Returns a copy of the
FieldValueChangedCondition with the proper binding to the destination catalog or null if the field or the table
does not exist in the destination catalog. |
boolean |
equals(java.lang.Object o) |
int[] |
getSupportedSourceTypes()
Returns the source types this condition supports.
|
getDisplayString, hashCode
bind, getCatalogItemEventsTable, getConfigurator, getFireHostItemInTable, getType, isFireHostItem, setCatalogItemEventsTable, setFireHostItem, setFireHostItemInTable, supportsSourceTypes
public FieldValueChangedCondition(GUID fieldUID)
fieldUID
- the field to wait for changes or null if all field value changes should firepublic Condition cloneForCatalog(Catalog destinationCatalog, java.lang.String defaultTableName)
FieldValueChangedCondition
with the proper binding to the destination catalog or null
if the field or the table
does not exist in the destination catalog.destinationCatalog
- the catalog for which the condition should be cloneddefaultTableName
- table name if no table is specified in the condition, usually Cumulus.TABLE_NAME_ASSET_RECORDS
or Cumulus.TABLE_NAME_CATEGORIES
.public int[] getSupportedSourceTypes()
Condition
TriggerManager.SOURCE_TYPE_CATALOG
,
TriggerManager.SOURCE_TYPE_CATEGORIES
, TriggerManager.SOURCE_TYPE_CATEGORY
,
TriggerManager.SOURCE_TYPE_RECORD
, TriggerManager.SOURCE_TYPE_RECORDS
and
TriggerManager.SOURCE_TYPE_SERVER
.getSupportedSourceTypes
in class Condition
public boolean equals(java.lang.Object o)
equals
in class SpecificFieldCondition
www.canto.com
Canto, the Canto logo, the Cumulus logo, and Cumulus are registered trademarks of Canto GmbH, registered in the U.S. and other countries.