| 
 | Oracle Fusion Middleware Java API Reference for Oracle Event Processing 12c Release 1 (12.1.3.0.0) E54267-01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Inner Class Summary | |
| static class | ProcessorMBean.RuleConfigParametersValues 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 rule
public 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 Syntax
public 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 Syntax
public 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 names
public 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 rule
public 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-id
public void deleteRules(java.lang.String[] ids)
                 throws javax.management.JMException
ids- - A String array of ids to be deleted from the EPL Processor
public 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 started
public void stopRule(java.lang.String id)
              throws javax.management.JMException
id - the identifier of the rule that is to be stopped
public 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, 2014 Oracle and/or its affiliates. All rights reserved. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||