public class AlertGroup
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
java.util.List<AlertPublisher> |
alertPublisher |
java.lang.String |
application |
boolean |
autoBuild |
static boolean |
DEFAULT_AUTO_BUILD |
static boolean |
DEFAULT_GROUP_ALERTS_BY_USER |
static boolean |
DEFAULT_INCREMENTAL |
static boolean |
DEFAULT_PUBLISH_DOCUMENT_METAS |
static boolean |
DEFAULT_REAL_TIME |
static boolean |
DEFAULT_STORE_ALERT_OCCURENCES |
static boolean |
DEFAULT_STORE_RESULTS |
static boolean |
DEFAULT_USE_AS_DEFAULT |
java.lang.String |
description |
boolean |
groupAlertsByUser |
boolean |
incremental |
IncrementalModeConfig |
incrementalModeConfig |
java.lang.String |
name |
boolean |
publishDocumentMetas |
boolean |
realTime |
Scheduling |
scheduling |
java.lang.String |
securitySource |
boolean |
storeAlertOccurences |
boolean |
storeResults |
boolean |
useAsDefault |
Constructor and Description |
---|
AlertGroup() |
AlertGroup(AlertGroup o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this AlertGroup.
|
static AlertGroup |
fromString(java.lang.String s)
String representation of this AlertGroup.
|
java.util.List<AlertPublisher> |
getAlertPublisher()
List of alert publisher configurations.
|
java.lang.String |
getApplication()
Mashup application for this alert group
|
java.lang.String |
getDescription() |
IncrementalModeConfig |
getIncrementalModeConfig()
Advanced configuration for the incrementality of scheduled alerting groups.
|
java.lang.String |
getName() |
Scheduling |
getScheduling()
Defines the trigger rule for scheduled queries.
Only applies to scheduled alerting groups. |
java.lang.String |
getSecuritySource()
Name of the security source to check tokens against when executing user alerts
|
boolean |
isAutoBuild()
Automatically rebuilds the real-time alerting matchers each time an alert is added, deleted, or
updated. Autobuild should be disabled for large alerting groups (thousands of alerts). |
boolean |
isGroupAlertsByUser()
Groups all alerts for a user in a single publication.
|
boolean |
isIncremental()
Includes a timestamp criteria with each alert request so the alert only returns documents modified or added since the
last alert trigger. Only applies to scheduled alerting groups, since real-time alerting groups are always incremental. |
boolean |
isPublishDocumentMetas()
When enabled, document metas are also published on match.
|
boolean |
isRealTime()
Matches alerts in this alert group as soon as the document is pushed
(real-time alerting). |
boolean |
isStoreAlertOccurences()
If set, each matching alert will be stored in the underlying alert_occurence table.
|
boolean |
isStoreResults()
Stores the results of each alert.
|
boolean |
isUseAsDefault()
Automatically selects this alert group in the "Save as alert" Mashup Widget.
|
AlertGroup |
makeCopy()
Creates and returns a deep copy of this AlertGroup.
|
static AlertGroup |
readFrom(java.io.InputStream is)
Read this AlertGroup from an XML fragment.
|
void |
setApplication(java.lang.String application)
Mashup application for this alert group
|
void |
setAutoBuild(boolean autoBuild)
Automatically rebuilds the real-time alerting matchers each time an alert is added, deleted, or
updated. Autobuild should be disabled for large alerting groups (thousands of alerts). |
void |
setDescription(java.lang.String description) |
void |
setGroupAlertsByUser(boolean groupAlertsByUser)
Groups all alerts for a user in a single publication.
|
void |
setIncremental(boolean incremental)
Includes a timestamp criteria with each alert request so the alert only returns documents modified or added since the
last alert trigger. Only applies to scheduled alerting groups, since real-time alerting groups are always incremental. |
void |
setIncrementalModeConfig(IncrementalModeConfig incrementalModeConfig)
Advanced configuration for the incrementality of scheduled alerting groups.
|
void |
setName(java.lang.String name) |
void |
setPublishDocumentMetas(boolean publishDocumentMetas)
When enabled, document metas are also published on match.
|
void |
setRealTime(boolean realTime)
Matches alerts in this alert group as soon as the document is pushed
(real-time alerting). |
void |
setScheduling(Scheduling scheduling)
Defines the trigger rule for scheduled queries.
Only applies to scheduled alerting groups. |
void |
setSecuritySource(java.lang.String securitySource)
Name of the security source to check tokens against when executing user alerts
|
void |
setStoreAlertOccurences(boolean storeAlertOccurences)
If set, each matching alert will be stored in the underlying alert_occurence table.
|
void |
setStoreResults(boolean storeResults)
Stores the results of each alert.
|
void |
setUseAsDefault(boolean useAsDefault)
Automatically selects this alert group in the "Save as alert" Mashup Widget.
|
java.lang.String |
toString()
String representation of this AlertGroup.
|
AlertGroup |
withAlertPublisher(AlertPublisher... __values)
List of alert publisher configurations.
|
AlertGroup |
withAlertPublisher(java.util.Collection<AlertPublisher> __values) |
AlertGroup |
withApplication(java.lang.String application) |
AlertGroup |
withAutoBuild(boolean autoBuild) |
AlertGroup |
withAutoBuild(java.lang.Boolean autoBuild) |
AlertGroup |
withDescription(java.lang.String description) |
AlertGroup |
withGroupAlertsByUser(boolean groupAlertsByUser) |
AlertGroup |
withGroupAlertsByUser(java.lang.Boolean groupAlertsByUser) |
AlertGroup |
withIncremental(boolean incremental) |
AlertGroup |
withIncremental(java.lang.Boolean incremental) |
AlertGroup |
withIncrementalModeConfig(IncrementalModeConfig incrementalModeConfig) |
AlertGroup |
withName(java.lang.String name) |
AlertGroup |
withPublishDocumentMetas(boolean publishDocumentMetas) |
AlertGroup |
withPublishDocumentMetas(java.lang.Boolean publishDocumentMetas) |
AlertGroup |
withRealTime(boolean realTime) |
AlertGroup |
withRealTime(java.lang.Boolean realTime) |
AlertGroup |
withScheduling(Scheduling scheduling) |
AlertGroup |
withSecuritySource(java.lang.String securitySource) |
AlertGroup |
withStoreAlertOccurences(boolean storeAlertOccurences) |
AlertGroup |
withStoreAlertOccurences(java.lang.Boolean storeAlertOccurences) |
AlertGroup |
withStoreResults(boolean storeResults) |
AlertGroup |
withStoreResults(java.lang.Boolean storeResults) |
AlertGroup |
withUseAsDefault(boolean useAsDefault) |
AlertGroup |
withUseAsDefault(java.lang.Boolean useAsDefault) |
void |
writeTo(java.io.OutputStream os)
Write this AlertGroup as an XML fragment
|
public java.lang.String name
public java.lang.String description
public java.lang.String securitySource
public java.lang.String application
public boolean useAsDefault
public static final boolean DEFAULT_USE_AS_DEFAULT
public boolean publishDocumentMetas
public static final boolean DEFAULT_PUBLISH_DOCUMENT_METAS
public boolean storeAlertOccurences
public static final boolean DEFAULT_STORE_ALERT_OCCURENCES
public boolean realTime
public static final boolean DEFAULT_REAL_TIME
public boolean autoBuild
public static final boolean DEFAULT_AUTO_BUILD
public Scheduling scheduling
public java.util.List<AlertPublisher> alertPublisher
public boolean storeResults
public static final boolean DEFAULT_STORE_RESULTS
public boolean incremental
public static final boolean DEFAULT_INCREMENTAL
public boolean groupAlertsByUser
public static final boolean DEFAULT_GROUP_ALERTS_BY_USER
public IncrementalModeConfig incrementalModeConfig
public AlertGroup()
public AlertGroup(AlertGroup o)
public void setName(java.lang.String name)
public java.lang.String getName()
public AlertGroup withName(java.lang.String name)
public void setDescription(java.lang.String description)
public java.lang.String getDescription()
public AlertGroup withDescription(java.lang.String description)
public void setSecuritySource(java.lang.String securitySource)
public java.lang.String getSecuritySource()
public AlertGroup withSecuritySource(java.lang.String securitySource)
public void setApplication(java.lang.String application)
public java.lang.String getApplication()
public AlertGroup withApplication(java.lang.String application)
public void setUseAsDefault(boolean useAsDefault)
public boolean isUseAsDefault()
public AlertGroup withUseAsDefault(boolean useAsDefault)
public AlertGroup withUseAsDefault(java.lang.Boolean useAsDefault)
public void setPublishDocumentMetas(boolean publishDocumentMetas)
public boolean isPublishDocumentMetas()
public AlertGroup withPublishDocumentMetas(boolean publishDocumentMetas)
public AlertGroup withPublishDocumentMetas(java.lang.Boolean publishDocumentMetas)
public void setStoreAlertOccurences(boolean storeAlertOccurences)
public boolean isStoreAlertOccurences()
public AlertGroup withStoreAlertOccurences(boolean storeAlertOccurences)
public AlertGroup withStoreAlertOccurences(java.lang.Boolean storeAlertOccurences)
public void setRealTime(boolean realTime)
public boolean isRealTime()
public AlertGroup withRealTime(boolean realTime)
public AlertGroup withRealTime(java.lang.Boolean realTime)
public void setAutoBuild(boolean autoBuild)
public boolean isAutoBuild()
public AlertGroup withAutoBuild(boolean autoBuild)
public AlertGroup withAutoBuild(java.lang.Boolean autoBuild)
public void setScheduling(Scheduling scheduling)
public Scheduling getScheduling()
public AlertGroup withScheduling(Scheduling scheduling)
public java.util.List<AlertPublisher> getAlertPublisher()
public AlertGroup withAlertPublisher(AlertPublisher... __values)
public AlertGroup withAlertPublisher(java.util.Collection<AlertPublisher> __values)
public void setStoreResults(boolean storeResults)
public boolean isStoreResults()
public AlertGroup withStoreResults(boolean storeResults)
public AlertGroup withStoreResults(java.lang.Boolean storeResults)
public void setIncremental(boolean incremental)
public boolean isIncremental()
public AlertGroup withIncremental(boolean incremental)
public AlertGroup withIncremental(java.lang.Boolean incremental)
public void setGroupAlertsByUser(boolean groupAlertsByUser)
public boolean isGroupAlertsByUser()
public AlertGroup withGroupAlertsByUser(boolean groupAlertsByUser)
public AlertGroup withGroupAlertsByUser(java.lang.Boolean groupAlertsByUser)
public void setIncrementalModeConfig(IncrementalModeConfig incrementalModeConfig)
public IncrementalModeConfig getIncrementalModeConfig()
public AlertGroup withIncrementalModeConfig(IncrementalModeConfig incrementalModeConfig)
public AlertGroup makeCopy()
public static AlertGroup readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
javax.xml.bind.JAXBException
java.io.IOException
public static AlertGroup fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class java.lang.Object
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.