webMethods Broker Administration Java API
Version 9.5.1.0.171 091713

COM.activesw.api.client
Class BrokerFilter

java.lang.Object
  extended by COM.activesw.api.client.BrokerFilter

public class BrokerFilter
extends java.lang.Object


Constructor Summary
BrokerFilter(BrokerClient client, java.lang.String event_type_name, java.lang.String filter_string)
          Create the filter.
BrokerFilter(BrokerClient client, java.lang.String event_type_name, java.lang.String filter_string, java.util.Locale locale)
          Create the filter in the given locale.
 
Method Summary
 java.lang.String getEventTypeName()
          Get the event type name.
 java.lang.String getFilterString()
          Get the filter string.
 boolean match(BrokerEvent event)
          Check if the given event matches the filter.
 java.lang.String toString()
          Get the filter as a string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BrokerFilter

public BrokerFilter(BrokerClient client,
                    java.lang.String event_type_name,
                    java.lang.String filter_string)
             throws BrokerException
Create the filter.

Throws:
BrokerFilterParseException - If there is a parse error in the filter string.
BrokerNullParameterException - If client or event_type_name are null.
BrokerException

BrokerFilter

public BrokerFilter(BrokerClient client,
                    java.lang.String event_type_name,
                    java.lang.String filter_string,
                    java.util.Locale locale)
             throws BrokerException
Create the filter in the given locale.

Throws:
BrokerFilterParseException - If there is a parse error in the filter string.
BrokerNullParameterException - If client or event_type_name are null.
BrokerException
Method Detail

getEventTypeName

public java.lang.String getEventTypeName()
Get the event type name.


getFilterString

public java.lang.String getFilterString()
Get the filter string.


match

public boolean match(BrokerEvent event)
              throws BrokerException
Check if the given event matches the filter.

Throws:
BrokerFilterRuntimeException - If there is a error while evaluating the filter.
BrokerNullParameterException - If event is null.
BrokerException

toString

public java.lang.String toString()
Get the filter as a string.

Overrides:
toString in class java.lang.Object

webMethods Broker Administration Java API
Version 9.5.1.0.171 091713


Copyright © 2001 - 2013 Software AG Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, United States of America, and/or their suppliers.