BEAST
|
Rule to keep the age of files in BDB above a limit. More...
Public Member Functions | |
int | getFileAgeLimit () |
void | setFileAgeLimit (int limit) |
Map< String, String > | getProperties () |
void | setProperties (Map< String, String > props) |
String | getType () |
boolean | isValid () |
IBltMessage | handle (IBltMessage message) |
void | afterPropertiesSet () |
Static Public Attributes | |
static final String | TYPE = "bdb_trim_age" |
The typename of this rule. | |
Protected Member Functions | |
BdbTrimAgeRule () | |
Default constructor, however, use manager for creation. | |
void | setFileCatalog (FileCatalog catalog) |
FileCatalog | getFileCatalog () |
void | execute () |
execute this rule | |
DateTime | getAgeLimitDateTime () |
get age limit as a DateTime | |
DateTime | getCurrentDateTime () |
get current UTC DateTime | |
Rule to keep the age of files in BDB above a limit.
NOTE! the nominal datetime (what/date + what/time) is used for file "age"
|
inlineprotected |
Default constructor, however, use manager for creation.
|
inline |
|
inlineprotected |
execute this rule
|
inlineprotected |
get age limit as a DateTime
|
inlineprotected |
get current UTC DateTime
|
inline |
|
inlineprotected |
|
inline |
|
inline |
Implements eu.baltrad.beast.rules.IRule.
|
inline |
|
inline |
Implements eu.baltrad.beast.rules.IRule.
|
inline |
limit | file count limit, 0 if unlimited |
|
inlineprotected |
catalog | the catalog to set |
|
inline |
Implements eu.baltrad.beast.rules.IRulePropertyAccess.
|
static |
The typename of this rule.