|
Oracle Fusion Middleware Java API Reference for Oracle Complex Event Processing 11g Release 1 (11.1.1.4.0) E14303-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Inner Class Summary | |
static class |
ProcessorMBean.RuleConfigParameters Values defined here identify rule configuration parameters. |
static class |
ProcessorMBean.RuleType |
Method Summary | |
java.lang.String |
addRule(java.lang.String query) This method will add an EPL rule to the designated EPL Processor. |
void |
addRule(java.lang.String id, java.lang.String query) This method will add an EPL rule with a name to the designated EPL Processor. |
void |
addRule(java.lang.String id, java.lang.String query, boolean active) This method will add an EPL rule with a name to the designated EPL Processor. |
java.util.Map |
addRules(java.util.Map rules) This method adds a set of EPL queries to the designated EPL Processor. |
void |
deleteAllRules() This methods deletes all rules that has been configured in the EPL Processor. |
void |
deleteRule(java.lang.String id) This method deletes a rule from the EPL Processor with the given rule id. |
void |
deleteRules(java.lang.String[] ids) This method deletes all rules with the given ids. |
java.lang.String |
downloadRules() This method returns in XML format all rules and any parameter values associated with parameterized queries in the designated EPL Proessor. |
java.util.Map |
getAllRules() This method fetches all the rules that has been configured in the designated EPL Proessor. |
java.util.Map |
getAllRulesInfo() Returns all the rules configured for this processor along with all the information about the rules. |
java.lang.String |
getRule(java.lang.String id) This method fetches a rule with the given id. |
java.util.Map |
getRules(java.lang.String[] ids) This method fetches the rules for ids that are in the array. |
boolean |
isRuleStarted(java.lang.String id) Use this to find out whether rule is started and is processing events. |
void |
replaceRule(java.lang.String id, java.lang.String query) This method will replace an existing EPL rule by another rule. |
java.util.Map |
replaceRules(java.util.Map rules) This method will replace several existing EPL rules. |
void |
startRule(java.lang.String id) Starts a rule and makes it ready to process events |
void |
stopRule(java.lang.String id) Stops a cql query or EPL rule so that it will not process incoming events anymore. |
java.util.Map |
uploadRules(java.util.Map rules) This method uploads a collection of EPL queries to the designated EPL processor. |
java.util.Map |
uploadRules(java.lang.String configXML) This method uploads a collection of EPL queries and associated parameter value bindings to the designated EPL processor. |
Methods inherited from interface com.bea.wlevs.management.configuration.StageMBean |
configurePlayback, configurePlaybackWithDuration, configureRecord, configureRecordWithDuration, getPlaybackConfiguration, getRecordConfiguration, getRecordPlayback, isPlayingBack, isRecording, startPlayback, startRecording, stopPlayback, stopRecording |
Methods inherited from interface com.bea.wlevs.management.WebLogicMBean |
getName, getObjectName, getType |
Methods inherited from interface javax.management.NotificationEmitter |
removeNotificationListener |
Methods inherited from interface javax.management.NotificationBroadcaster |
addNotificationListener, getNotificationInfo, removeNotificationListener |
Method Detail |
public java.lang.String addRule(java.lang.String query) throws javax.management.JMException
query
- - An epl rulepublic void addRule(java.lang.String id, java.lang.String query) throws javax.management.JMException
id-
- A String which has the name of the queryquery-
- A String representing a query in EPL Syntaxpublic void addRule(java.lang.String id, java.lang.String query, boolean active) throws javax.management.JMException
id-
- A String which has the name of the queryquery-
- A String representing a query in EPL Syntaxactive
- Flag indicating if the rule should be started and ready to receive events.public java.util.Map addRules(java.util.Map rules) throws javax.management.JMException
rules
- - A Map containg the queries with their names.public void replaceRule(java.lang.String id, java.lang.String query) throws javax.management.JMException
id-
- A String which has the name of the queryquery-
- A String representing a query in EPL Syntaxpublic java.util.Map replaceRules(java.util.Map rules) throws javax.management.JMException
rules
- - A Map containg the queries with their names.public java.util.Map uploadRules(java.util.Map rules) throws javax.management.JMException
rules
- - A Map containing queries with their namespublic java.util.Map uploadRules(java.lang.String configXML) throws javax.management.JMException
configXML
- - A String in XML format of all all rules and associated parameter bindings valid against the processor configuration schema.public java.lang.String downloadRules() throws javax.management.JMException
public java.lang.String getRule(java.lang.String id) throws javax.management.JMException
id
- - A string which represents the id of the rulepublic java.util.Map getRules(java.lang.String[] ids) throws javax.management.JMException
ids
- - An array of rule ids.public java.util.Map getAllRules() throws javax.management.JMException
public java.util.Map getAllRulesInfo() throws javax.management.JMException
public void deleteRule(java.lang.String id) throws javax.management.JMException
id-
- A String which represents the rule-idpublic void deleteRules(java.lang.String[] ids) throws javax.management.JMException
ids-
- A String array of ids to be deleted from the EPL Processorpublic void deleteAllRules() throws javax.management.JMException
public void startRule(java.lang.String id) throws javax.management.JMException
id
- the identifier of the rule that is to be startedpublic void stopRule(java.lang.String id) throws javax.management.JMException
id
- the identifier of the rule that is to be stoppedpublic boolean isRuleStarted(java.lang.String id) throws javax.management.JMException
id
- the identifier of the rule for which start status is to be determined
|
Copyright © 2007, 2011 Oracle and/or its affiliates. All rights reserved. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |