public abstract class HeadlessIO extends Object
Constructor and Description |
---|
HeadlessIO() |
Modifier and Type | Method and Description |
---|---|
static void |
executeConfiguration(IOConfiguration conf,
Map<String,IOAdvisor<?>> advisors,
ReportHandler reportHandler,
ServiceProvider serviceProvider)
Execute a single I/O configuration.
|
static void |
executeConfigurations(List<IOConfiguration> configurations,
Map<String,IOAdvisor<?>> advisors,
ReportHandler reportHandler,
ServiceProvider serviceProvider)
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.
|
public static void executeConfigurations(List<IOConfiguration> configurations, Map<String,IOAdvisor<?>> advisors, ReportHandler reportHandler, ServiceProvider serviceProvider) throws IOException
configurations
- the I/O configurationsadvisors
- map of advisors, action ID mapped to responsible advisorreportHandler
- the report handler, may be null
serviceProvider
- the service providerIOException
- if an error occurs executing a configurationpublic static void executeConfiguration(IOConfiguration conf, Map<String,IOAdvisor<?>> advisors, ReportHandler reportHandler, ServiceProvider serviceProvider) throws IOException
conf
- the I/O configurationadvisors
- map of advisors, action ID mapped to responsible advisorreportHandler
- the report handler, may be null
serviceProvider
- the service providerIOException
- if an error occurs executing a configurationpublic static IOProvider loadProvider(IOConfiguration conf)
conf
- the I/O configurationnull
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 failsBuild 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a