|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.hale.common.headless.HeadlessIO
public abstract class HeadlessIO
Utilities for headless execution of I/O configurations and providers.
Constructor Summary | |
---|---|
HeadlessIO()
|
Method Summary | |
---|---|
static void |
executeConfiguration(IOConfiguration conf,
Map<String,IOAdvisor<?>> advisors,
ReportHandler reportHandler)
Execute a single I/O configuration. |
static void |
executeConfigurations(List<IOConfiguration> configurations,
Map<String,IOAdvisor<?>> advisors,
ReportHandler reportHandler)
Execute a set of I/O configurations. |
static void |
executeProvider(IOProvider provider,
IOAdvisor advisor,
ProgressIndicator progress,
ReportHandler reportHandler)
Execute the given I/O provider with the given I/O advisor. |
static IOProvider |
loadProvider(IOConfiguration conf)
Load and configure the I/O provider specified by the given I/O configuration. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HeadlessIO()
Method Detail |
---|
public static void executeConfigurations(List<IOConfiguration> configurations, Map<String,IOAdvisor<?>> advisors, ReportHandler reportHandler) throws IOException
configurations
- the I/O configurationsadvisors
- map of advisors, action ID mapped to responsible advisorreportHandler
- the report handler, may be null
IOException
- if an error occurs executing a configurationpublic static void executeConfiguration(IOConfiguration conf, Map<String,IOAdvisor<?>> advisors, ReportHandler reportHandler) throws IOException
conf
- the I/O configurationadvisors
- map of advisors, action ID mapped to responsible advisorreportHandler
- the report handler, may be null
IOException
- if an error occurs executing a configurationpublic static IOProvider loadProvider(IOConfiguration conf)
conf
- the I/O configuration
null
if it was not found or could
not be createdpublic static void executeProvider(IOProvider provider, IOAdvisor advisor, ProgressIndicator progress, ReportHandler reportHandler) throws IOException
provider
- the I/O provideradvisor
- the I/O advisorprogress
- the progress indicator, may be null
reportHandler
- the report handler, may be null
IOException
- if executing the provider fails
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |