BEAST
eu.baltrad.beast.system.BdbObjectStatusReporter Class Reference
Inheritance diagram for eu.baltrad.beast.system.BdbObjectStatusReporter:
eu.baltrad.beast.system.ISystemStatusReporter

Public Member Functions

String getName ()
 
void setFileCatalog (FileCatalog fc)
 Sets the file catalog to use for querying.
 
Set< String > getSupportedAttributes ()
 
Set< SystemStatusgetStatus (Map< String, Object > values)
 Supports the value mapping.
 

Protected Member Functions

FileQuery createFileQuery ()
 
Expression createSearchFilter (Map< String, Object > values)
 Creates the search filter to be used for generation.
 
String extractStringValue (Pattern pattern, int grp, String... args)
 Extracts group with index grp from the first argument that matches the pattern.
 
DateTime createFromDateTime (int minutes)
 Creates a date time that is minutes back in time.
 
GregorianCalendar createCalendar ()
 Creates a gregorian calendar instance.
 
Expression createDateTimeFilter (DateTime dt)
 Creates the >= date time filter.
 
List< Expression > createSourceList (String sources, String areas)
 Creates a list of source expressions from a comma-separated list of sources.
 
List< Expression > createProductsList (String prod)
 Creates a list of product expressions from a comma-separated list of products.
 
String[] tokenizeString (String str)
 Tokenizes a comma separated string.
 

Detailed Description

Author
Anders Henja

Member Function Documentation

◆ createCalendar()

GregorianCalendar eu.baltrad.beast.system.BdbObjectStatusReporter.createCalendar ( )
inlineprotected

Creates a gregorian calendar instance.

Returns
the gregorian calendar

◆ createDateTimeFilter()

Expression eu.baltrad.beast.system.BdbObjectStatusReporter.createDateTimeFilter ( DateTime dt)
inlineprotected

Creates the >= date time filter.

Parameters
dtthe from date time
Returns
the expression

◆ createFileQuery()

FileQuery eu.baltrad.beast.system.BdbObjectStatusReporter.createFileQuery ( )
inlineprotected
Returns
a new file query instance

◆ createFromDateTime()

DateTime eu.baltrad.beast.system.BdbObjectStatusReporter.createFromDateTime ( int minutes)
inlineprotected

Creates a date time that is minutes back in time.

Parameters
minutesthe minutes back in time
Returns
the date time

◆ createProductsList()

List< Expression > eu.baltrad.beast.system.BdbObjectStatusReporter.createProductsList ( String prod)
inlineprotected

Creates a list of product expressions from a comma-separated list of products.

Parameters
prodthe list of products
Returns
the list

◆ createSearchFilter()

Expression eu.baltrad.beast.system.BdbObjectStatusReporter.createSearchFilter ( Map< String, Object > values)
inlineprotected

Creates the search filter to be used for generation.

Parameters
argsthe arguments
Returns
the expression

◆ createSourceList()

List< Expression > eu.baltrad.beast.system.BdbObjectStatusReporter.createSourceList ( String sources,
String areas )
inlineprotected

Creates a list of source expressions from a comma-separated list of sources.

Parameters
srcthe list of sources
Returns
the list

◆ extractStringValue()

String eu.baltrad.beast.system.BdbObjectStatusReporter.extractStringValue ( Pattern pattern,
int grp,
String... args )
inlineprotected

Extracts group with index grp from the first argument that matches the pattern.

Parameters
patternthe pattern
grpthe group index
argsthe list of arguments
Returns
the extracted string value

◆ getName()

String eu.baltrad.beast.system.BdbObjectStatusReporter.getName ( )
inline

◆ getStatus()

Set< SystemStatus > eu.baltrad.beast.system.BdbObjectStatusReporter.getStatus ( Map< String, Object > values)
inline

Supports the value mapping.

{ "objects",<string list>; "sources",<string list>; "areas",<string list>; "minutes",<integer,long or string>

See also
eu.baltrad.beast.system.ISystemStatusReporter.getStatus()

Implements eu.baltrad.beast.system.ISystemStatusReporter.

◆ getSupportedAttributes()

Set< String > eu.baltrad.beast.system.BdbObjectStatusReporter.getSupportedAttributes ( )
inline

◆ setFileCatalog()

void eu.baltrad.beast.system.BdbObjectStatusReporter.setFileCatalog ( FileCatalog fc)
inline

Sets the file catalog to use for querying.

Parameters
fcthe file catalog

◆ tokenizeString()

String[] eu.baltrad.beast.system.BdbObjectStatusReporter.tokenizeString ( String str)
inlineprotected

Tokenizes a comma separated string.

Parameters
strthe string to be tokenized
Returns
the tokens

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