BEAST
eu.baltrad.beast.rules.gmap.GoogleMapRule Class Reference

The google map rule. More...

Inheritance diagram for eu.baltrad.beast.rules.gmap.GoogleMapRule:
eu.baltrad.beast.rules.IRule

Public Member Functions

 GoogleMapRule ()
 Constructor.
 
void afterPropertiesSet () throws Exception
 
void setRuleId (int ruleid)
 
int getRuleId ()
 
IBltMessage handle (IBltMessage message)
 
String getType ()
 
boolean isValid ()
 
void setPath (String path)
 
String getPath ()
 
void setArea (String area)
 
String getArea ()
 
boolean isUseAreaInPath ()
 
void setUseAreaInPath (boolean useAreaInPath)
 
IFilter getFilter ()
 
void setFilter (IFilter filter)
 
MetadataMatcher getMatcher ()
 
void setMatcher (MetadataMatcher matcher)
 
void setCatalog (Catalog catalog)
 
Catalog getCatalog ()
 

Static Public Attributes

static final String BEAST_GMAP_ALGORITHM = "eu.baltrad.beast.creategmap"
 
static final String TYPE = "blt_gmap"
 The name of this static google map type.
 

Protected Member Functions

boolean isSupportedArea (String source)
 Checks if a wanted area exists in this source and in that case return the name of that area.
 
String createOutputName (Date d, Time t)
 Creates the absolute file path to be used for the generated file.
 

Detailed Description

The google map rule.

Author
Anders Henja
Date
2012-03-21

Constructor & Destructor Documentation

◆ GoogleMapRule()

eu.baltrad.beast.rules.gmap.GoogleMapRule.GoogleMapRule ( )
inline

Constructor.

Member Function Documentation

◆ afterPropertiesSet()

void eu.baltrad.beast.rules.gmap.GoogleMapRule.afterPropertiesSet ( ) throws Exception
inline
See also
org.springframework.beans.factory.InitializingBean.afterPropertiesSet()

◆ createOutputName()

String eu.baltrad.beast.rules.gmap.GoogleMapRule.createOutputName ( Date d,
Time t )
inlineprotected

Creates the absolute file path to be used for the generated file.

Parameters
areathe area
dthe date
tthe time
Returns
the absolute file path

◆ getArea()

String eu.baltrad.beast.rules.gmap.GoogleMapRule.getArea ( )
inline
Returns
the area

◆ getCatalog()

Catalog eu.baltrad.beast.rules.gmap.GoogleMapRule.getCatalog ( )
inline
Returns
the catalog

◆ getFilter()

IFilter eu.baltrad.beast.rules.gmap.GoogleMapRule.getFilter ( )
inline
Returns
the filter to use when trying out if files are matching

◆ getMatcher()

MetadataMatcher eu.baltrad.beast.rules.gmap.GoogleMapRule.getMatcher ( )
inline
Returns
the metadata matcher

◆ getPath()

String eu.baltrad.beast.rules.gmap.GoogleMapRule.getPath ( )
inline
Returns
the path

◆ getRuleId()

int eu.baltrad.beast.rules.gmap.GoogleMapRule.getRuleId ( )
inline
Returns
the ruleid

◆ getType()

String eu.baltrad.beast.rules.gmap.GoogleMapRule.getType ( )
inline

◆ handle()

IBltMessage eu.baltrad.beast.rules.gmap.GoogleMapRule.handle ( IBltMessage message)
inline

◆ isSupportedArea()

boolean eu.baltrad.beast.rules.gmap.GoogleMapRule.isSupportedArea ( String source)
inlineprotected

Checks if a wanted area exists in this source and in that case return the name of that area.

Parameters
sourcethe source to check
Returns
an area if it could be found in the source otherwise null

◆ isUseAreaInPath()

boolean eu.baltrad.beast.rules.gmap.GoogleMapRule.isUseAreaInPath ( )
inline
Returns
the useAreaInPath

◆ isValid()

boolean eu.baltrad.beast.rules.gmap.GoogleMapRule.isValid ( )
inline

◆ setArea()

void eu.baltrad.beast.rules.gmap.GoogleMapRule.setArea ( String area)
inline
Parameters
areathe area to set

◆ setCatalog()

void eu.baltrad.beast.rules.gmap.GoogleMapRule.setCatalog ( Catalog catalog)
inline
Parameters
catalogthe catalog to set

◆ setFilter()

void eu.baltrad.beast.rules.gmap.GoogleMapRule.setFilter ( IFilter filter)
inline
Parameters
filterthe filter to use

◆ setMatcher()

void eu.baltrad.beast.rules.gmap.GoogleMapRule.setMatcher ( MetadataMatcher matcher)
inline
Parameters
matcherthe metadata matcher

◆ setPath()

void eu.baltrad.beast.rules.gmap.GoogleMapRule.setPath ( String path)
inline
Parameters
paththe path to set

◆ setRuleId()

void eu.baltrad.beast.rules.gmap.GoogleMapRule.setRuleId ( int ruleid)
inline
Parameters
ruleidthe ruleid to set

◆ setUseAreaInPath()

void eu.baltrad.beast.rules.gmap.GoogleMapRule.setUseAreaInPath ( boolean useAreaInPath)
inline
Parameters
useAreaInPaththe useAreaInPath to set

Member Data Documentation

◆ TYPE

final String eu.baltrad.beast.rules.gmap.GoogleMapRule.TYPE = "blt_gmap"
static

The name of this static google map type.


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