BEAST
eu.baltrad.beast.admin.objects.routes.Route Class Referenceabstract

Base object used when manipulating different routes. More...

Inheritance diagram for eu.baltrad.beast.admin.objects.routes.Route:
eu.baltrad.beast.admin.objects.routes.AcrrRoute eu.baltrad.beast.admin.objects.routes.BasicRoute eu.baltrad.beast.admin.objects.routes.CompositeRoute eu.baltrad.beast.admin.objects.routes.DBTrimAgeRoute eu.baltrad.beast.admin.objects.routes.DBTrimCountRoute eu.baltrad.beast.admin.objects.routes.DistributionRoute eu.baltrad.beast.admin.objects.routes.GmapRoute eu.baltrad.beast.admin.objects.routes.GraRoute eu.baltrad.beast.admin.objects.routes.GroovyRoute eu.baltrad.beast.admin.objects.routes.ScansunRoute eu.baltrad.beast.admin.objects.routes.Site2DRoute eu.baltrad.beast.admin.objects.routes.VolumeRoute eu.baltrad.beast.admin.objects.routes.WrwpRoute

Public Member Functions

 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.
 
abstract boolean isValid ()
 
void fromRouteDefinition (RouteDefinition def)
 Fills a route from the route definition.
 
IRule toRule (IRouterManager routerManager)
 Creates a rule from self using the provided router manager.
 

Detailed Description

Base object used when manipulating different routes.

See RouteDefinition

Author
anders

Constructor & Destructor Documentation

◆ Route() [1/2]

eu.baltrad.beast.admin.objects.routes.Route.Route ( )
inline

Constructor.

◆ Route() [2/2]

eu.baltrad.beast.admin.objects.routes.Route.Route ( String name)
inline

Constructor.

Member Function Documentation

◆ fromRouteDefinition()

◆ getAuthor()

String eu.baltrad.beast.admin.objects.routes.Route.getAuthor ( )
inline
Returns
the author

◆ getDescription()

String eu.baltrad.beast.admin.objects.routes.Route.getDescription ( )
inline
Returns
the description

◆ getName()

String eu.baltrad.beast.admin.objects.routes.Route.getName ( )
inline
Returns
the name

◆ getRecipients()

List< String > eu.baltrad.beast.admin.objects.routes.Route.getRecipients ( )
inline
Returns
the recipients

◆ isActive()

boolean eu.baltrad.beast.admin.objects.routes.Route.isActive ( )
inline
Returns
the active

◆ isValid()

abstract boolean eu.baltrad.beast.admin.objects.routes.Route.isValid ( )
abstract

◆ setActive()

void eu.baltrad.beast.admin.objects.routes.Route.setActive ( boolean active)
inline
Parameters
activethe active to set

◆ setAuthor()

void eu.baltrad.beast.admin.objects.routes.Route.setAuthor ( String author)
inline
Parameters
authorthe author to set

◆ setDescription()

void eu.baltrad.beast.admin.objects.routes.Route.setDescription ( String description)
inline
Parameters
descriptionthe description to set

◆ setName()

void eu.baltrad.beast.admin.objects.routes.Route.setName ( String name)
inline
Parameters
namethe name to set

◆ setRecipients()

void eu.baltrad.beast.admin.objects.routes.Route.setRecipients ( List< String > recipients)
inline
Parameters
recipientsthe recipients to set

◆ toRule()

◆ validate()

boolean eu.baltrad.beast.admin.objects.routes.Route.validate ( )
inline

Validates this route so that it follows the conventions.

Returns
true if valid, false otherwise

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