public class ServicesRegistry
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ServicesRegistry.ConversionServiceKey |
Modifier and Type | Field and Description |
---|---|
(package private) static java.util.Map<ServicesRegistry.ConversionServiceKey,java.util.List<IConversion>> |
registeredConversionServices |
(package private) static java.util.Set<ModelFormat> |
registeredModelFormats |
(package private) static java.util.Map<java.lang.Class<? extends IModelInterpreter>,java.util.List<ModelFormat>> |
registeredModelInterpreterServices |
(package private) static java.util.List<java.lang.Class<? extends IQueryProcessor>> |
registeredQueryProcessorServices |
(package private) static java.util.Map<java.lang.Class<? extends ISimulator>,java.util.List<ModelFormat>> |
registeredSimulatorServices |
Constructor and Description |
---|
ServicesRegistry() |
Modifier and Type | Method and Description |
---|---|
static java.util.Map<ServicesRegistry.ConversionServiceKey,java.util.List<IConversion>> |
getConversionService(java.util.List<ModelFormat> inputModelFormats,
java.util.List<ModelFormat> outputModelFormats) |
static java.util.List<IConversion> |
getConversionService(ModelFormat inputModelFormat,
ModelFormat outputModelFormat) |
static ModelFormat |
getModelFormat(java.lang.String format) |
static java.util.List<ModelFormat> |
getModelInterpreterServiceFormats(IModelInterpreter interpreterService) |
static java.util.List<java.lang.String> |
getRegisteredModelFormats() |
static ResultsFormat |
getResultsFormat(java.lang.String format) |
static java.util.List<ModelFormat> |
getSimulatorServiceFormats(ISimulator simulatorService) |
static java.util.Map<ModelFormat,java.util.List<IConversion>> |
getSupportedOutputs(DomainModel model) |
static void |
registerConversionService(IConversion conversionService,
java.util.List<ModelFormat> inputModelFormats,
java.util.List<ModelFormat> outputModelFormats) |
static ModelFormat |
registerModelFormat(java.lang.String format) |
static void |
registerModelInterpreterService(IModelInterpreter interpreterService,
java.util.List<ModelFormat> outputModelFormats) |
static void |
registerQueryProcessorService(IQueryProcessor queryProcessor) |
static void |
registerSimulatorService(ISimulator simulatorService,
java.util.List<ModelFormat> inputModelFormats) |
static java.util.Set<ModelFormat> registeredModelFormats
static java.util.Map<java.lang.Class<? extends IModelInterpreter>,java.util.List<ModelFormat>> registeredModelInterpreterServices
static java.util.Map<ServicesRegistry.ConversionServiceKey,java.util.List<IConversion>> registeredConversionServices
static java.util.Map<java.lang.Class<? extends ISimulator>,java.util.List<ModelFormat>> registeredSimulatorServices
static java.util.List<java.lang.Class<? extends IQueryProcessor>> registeredQueryProcessorServices
public static ModelFormat registerModelFormat(java.lang.String format)
public static java.util.List<java.lang.String> getRegisteredModelFormats()
public static ModelFormat getModelFormat(java.lang.String format)
public static ResultsFormat getResultsFormat(java.lang.String format)
public static void registerModelInterpreterService(IModelInterpreter interpreterService, java.util.List<ModelFormat> outputModelFormats)
public static void registerQueryProcessorService(IQueryProcessor queryProcessor)
public static java.util.List<ModelFormat> getModelInterpreterServiceFormats(IModelInterpreter interpreterService)
public static void registerSimulatorService(ISimulator simulatorService, java.util.List<ModelFormat> inputModelFormats)
public static java.util.List<ModelFormat> getSimulatorServiceFormats(ISimulator simulatorService)
public static void registerConversionService(IConversion conversionService, java.util.List<ModelFormat> inputModelFormats, java.util.List<ModelFormat> outputModelFormats)
public static java.util.Map<ModelFormat,java.util.List<IConversion>> getSupportedOutputs(DomainModel model)
public static java.util.Map<ServicesRegistry.ConversionServiceKey,java.util.List<IConversion>> getConversionService(java.util.List<ModelFormat> inputModelFormats, java.util.List<ModelFormat> outputModelFormats)
public static java.util.List<IConversion> getConversionService(ModelFormat inputModelFormat, ModelFormat outputModelFormat)