BEAST
eu.baltrad.beast.admin.objects.routes.DBTrimCountRoute Class Reference

Object used for manipulating BdbTrimCountRule. More...

Inheritance diagram for eu.baltrad.beast.admin.objects.routes.DBTrimCountRoute:
eu.baltrad.beast.admin.objects.routes.Route

Public Member Functions

int getCount ()
 
void setCount (int count)
 
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.
 
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

Object used for manipulating BdbTrimCountRule.

Author
anders

Member Function Documentation

◆ fromRouteDefinition()

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

Fills a route from the route definition.

Parameters
defthe route definition

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

◆ getCount()

int eu.baltrad.beast.admin.objects.routes.DBTrimCountRoute.getCount ( )
inline
Returns
the count

◆ isValid()

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

◆ setCount()

void eu.baltrad.beast.admin.objects.routes.DBTrimCountRoute.setCount ( int count)
inline
Parameters
countthe count to set

◆ toRule()

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

Creates a rule from self using the provided router manager.

Parameters
routerManagerthe router manager
Returns
the rule

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


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