BEAST
|
Distribute incoming data to remote destinations. More...
Public Member Functions | |
MetadataNameCreatorFactory | getNameCreatorFactory () |
void | setNameCreatorFactory (MetadataNameCreatorFactory nameCreatorFactory) |
IFilter | getFilter () |
void | setFilter (IFilter filter) |
URI | getDestination () |
void | setDestination (String destination) |
void | setNamer (FileEntryNamer namer) |
void | setMetadataNamingTemplate (String tmpl) |
Set metadata naming template. | |
String | getMetadataNamingTemplate () |
Get metadata naming template. | |
void | setUuidNamer () |
Map< String, String > | getProperties () |
void | setProperties (Map< String, String > props) |
String | getType () |
boolean | isValid () |
void | setRuleId (int ruleid) |
int | getRuleId () |
IBltMessage | handle (IBltMessage message) |
boolean | match (FileEntry entry) |
FileDistributionStateContainer | upload (FileEntry entry) |
FileDistributionStateContainer | upload (File src, FileEntry entry) |
Static Public Attributes | |
static final String | TYPE = "distribution" |
Protected Member Functions | |
DistributionRule (LocalStorage localStorage, ExecutorService distributionExecutor) | |
Constructor. | |
void | setMatcher (MetadataMatcher matcher) |
LocalStorage | getLocalStorage () |
Distribute incoming data to remote destinations.
Incoming files that match the associated filter are uploaded using FileUploader
.
|
inlineprotected |
Constructor.
|
inline |
Get metadata naming template.
|
inline |
|
inline |
|
inline |
Implements eu.baltrad.beast.rules.IRule.
|
inline |
|
inline |
Implements eu.baltrad.beast.rules.IRule.
|
inline |
Set metadata naming template.
|
inline |
Implements eu.baltrad.beast.rules.IRulePropertyAccess.
|
inline |
ruleid | the ruleid to set |