BEAST
eu.baltrad.beast.admin.objects.routes.GroovyRoute Class Reference
Inheritance diagram for eu.baltrad.beast.admin.objects.routes.GroovyRoute:
eu.baltrad.beast.admin.objects.routes.Route

Public Member Functions

String getScript ()
 
void setScript (String script)
 
void fromRouteDefinition (RouteDefinition def)
 Fills self with information from route definition.
 
IRule toRule (IRouterManager routerManager)
 Creates a rule from self using the provided router manager @routerManager - the router manager.
 
boolean isValid ()
 
- Public Member Functions inherited from eu.baltrad.beast.admin.objects.routes.Route
 Route ()
 Constructor.
 
 Route (String name)
 Constructor.
 
String getName ()
 
void setName (String name)
 
List< String > getRecipients ()
 
void setRecipients (List< String > recipients)
 
boolean isActive ()
 
void setActive (boolean active)
 
String getAuthor ()
 
void setAuthor (String author)
 
String getDescription ()
 
void setDescription (String description)
 
boolean validate ()
 Validates this route so that it follows the conventions.
 

Detailed Description

Author
anders

Member Function Documentation

◆ fromRouteDefinition()

void eu.baltrad.beast.admin.objects.routes.GroovyRoute.fromRouteDefinition ( RouteDefinition def)
inline

Fills self with information from route definition.

Parameters
def- the route definition

Reimplemented from eu.baltrad.beast.admin.objects.routes.Route.

◆ getScript()

String eu.baltrad.beast.admin.objects.routes.GroovyRoute.getScript ( )
inline
Returns
the script

◆ isValid()

boolean eu.baltrad.beast.admin.objects.routes.GroovyRoute.isValid ( )
inline

◆ setScript()

void eu.baltrad.beast.admin.objects.routes.GroovyRoute.setScript ( String script)
inline
Parameters
scriptthe script to set

◆ toRule()

IRule eu.baltrad.beast.admin.objects.routes.GroovyRoute.toRule ( IRouterManager routerManager)
inline

Creates a rule from self using the provided router manager @routerManager - the router manager.

Reimplemented from eu.baltrad.beast.admin.objects.routes.Route.


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