Kie Workbench - Common - Data Model API 6.0.0.Beta5

org.kie.workbench.common.services.datamodel.oracle
Class CEPOracle

java.lang.Object
  extended by org.kie.workbench.common.services.datamodel.oracle.CEPOracle

@Portable
public class CEPOracle
extends Object

An Oracle for all things "CEP" related


Constructor Summary
CEPOracle()
           
 
Method Summary
static List<Integer> getCEPOperatorParameterSets(String operator)
          Get the parameter sets for the given CEP Operator (simple, or connective) e.g.
static List<String> getCEPWindowOperators()
          Return a list of operators applicable to CEP windows
static boolean isCEPOperator(String operator)
          Check whether an operator is a CEP operator
static boolean isCEPWindowOperator(String operator)
          Check whether an operator is a CEP 'window' operator
static boolean isCEPWindowOperatorLength(String operator)
          Check if the operator is 'window over:length'
static boolean isCEPWindowOperatorTime(String operator)
          Check if the operator is 'window over:time'
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CEPOracle

public CEPOracle()
Method Detail

isCEPOperator

public static boolean isCEPOperator(String operator)
Check whether an operator is a CEP operator

Parameters:
operator -
Returns:
True if the operator is a CEP operator

getCEPOperatorParameterSets

public static List<Integer> getCEPOperatorParameterSets(String operator)
Get the parameter sets for the given CEP Operator (simple, or connective) e.g. CEP operator "during" requires 0, 1, 2 or 4 parameters so the returned list contains 0, 1, 2 and 4.

Parameters:
operator -
Returns:

getCEPWindowOperators

public static List<String> getCEPWindowOperators()
Return a list of operators applicable to CEP windows

Returns:

isCEPWindowOperator

public static boolean isCEPWindowOperator(String operator)
Check whether an operator is a CEP 'window' operator

Parameters:
operator -
Returns:
True if the operator is a CEP 'window' operator

isCEPWindowOperatorTime

public static boolean isCEPWindowOperatorTime(String operator)
Check if the operator is 'window over:time'

Parameters:
operator -
Returns:
if

isCEPWindowOperatorLength

public static boolean isCEPWindowOperatorLength(String operator)
Check if the operator is 'window over:length'

Parameters:
operator -
Returns:
if

Kie Workbench - Common - Data Model API 6.0.0.Beta5

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.