BEAST
eu.baltrad.beast.router.RouteDefinition Class Reference

Defines a routing definition, i.e. More...

Classes

class  ActiveComparator
 
class  DescriptionComparator
 
class  NameComparator
 
class  RouteComparator
 
class  TypeComparator
 

Public Member Functions

IBltMessage handle (IBltMessage msg)
 
void setRule (IRule rule)
 
IRule getRule ()
 
void setRecipients (List< String > recipients)
 
List< String > getRecipients ()
 
void setActive (boolean active)
 
boolean isActive ()
 
void setAuthor (String author)
 
String getAuthor ()
 
void setName (String name)
 
String getName ()
 
void setDescription (String description)
 
String getDescription ()
 
String getRuleType ()
 Returns the type of the rule.
 
boolean isRuleValid ()
 

Detailed Description

Defines a routing definition, i.e.

if a rule evaluates to true, what route(s) that should be affected.

Author
Anders Henja

Member Function Documentation

◆ getAuthor()

String eu.baltrad.beast.router.RouteDefinition.getAuthor ( )
inline
Returns
the author

◆ getDescription()

String eu.baltrad.beast.router.RouteDefinition.getDescription ( )
inline
Returns
the description

◆ getName()

String eu.baltrad.beast.router.RouteDefinition.getName ( )
inline
Returns
the name

◆ getRecipients()

List< String > eu.baltrad.beast.router.RouteDefinition.getRecipients ( )
inline
Returns
the recipients

◆ getRule()

IRule eu.baltrad.beast.router.RouteDefinition.getRule ( )
inline
Returns
the rule

◆ getRuleType()

String eu.baltrad.beast.router.RouteDefinition.getRuleType ( )
inline

Returns the type of the rule.

Returns
the rule type (or null if no rule has been set)

◆ isActive()

boolean eu.baltrad.beast.router.RouteDefinition.isActive ( )
inline
Returns
the active

◆ isRuleValid()

boolean eu.baltrad.beast.router.RouteDefinition.isRuleValid ( )
inline
Returns
if the rule is valid or not

◆ setActive()

void eu.baltrad.beast.router.RouteDefinition.setActive ( boolean active)
inline
Parameters
activethe active to set

◆ setAuthor()

void eu.baltrad.beast.router.RouteDefinition.setAuthor ( String author)
inline
Parameters
authorthe author to set

◆ setDescription()

void eu.baltrad.beast.router.RouteDefinition.setDescription ( String description)
inline
Parameters
descriptionthe description to set

◆ setName()

void eu.baltrad.beast.router.RouteDefinition.setName ( String name)
inline
Parameters
namethe name to set

◆ setRecipients()

void eu.baltrad.beast.router.RouteDefinition.setRecipients ( List< String > recipients)
inline
Parameters
recipientsthe recipients to set

◆ setRule()

void eu.baltrad.beast.router.RouteDefinition.setRule ( IRule rule)
inline
Parameters
rulethe rule to set

The documentation for this class was generated from the following file: