public class ProcessorFactory extends Object
| Constructor and Description |
|---|
ProcessorFactory() |
| Modifier and Type | Method and Description |
|---|---|
static Processor |
create(String yamcsInstance,
String name,
ProcessorService... services)
creates a processor with the services already instantiated.
|
static Processor |
create(String instance,
String name,
String type,
List<ServiceWithConfig> serviceList,
String creator,
Map<String,Object> config,
Object spec)
Create a Processor by specifying the service.
|
static Processor |
create(String yamcsInstance,
String name,
String type,
String creator,
Object spec)
Create a processor with the give name, type, creator and spec
type is used to load the tm, parameter and command classes as defined in yprocessor.yaml
spec if not null is passed as an extra argument to those classes - it is used for example when creating replay processors to pass on the data that has to be replayed.
|
public static Processor create(String yamcsInstance, String name, String type, String creator, Object spec) throws ProcessorException, ConfigurationException
yamcsInstance - name - type - creator - spec - ProcessorExceptionConfigurationExceptionpublic static Processor create(String instance, String name, String type, List<ServiceWithConfig> serviceList, String creator, Map<String,Object> config, Object spec) throws ProcessorException, ConfigurationException
instance - name - type - creator - config - ProcessorExceptionConfigurationExceptionpublic static Processor create(String yamcsInstance, String name, ProcessorService... services) throws ProcessorException, ConfigurationException
Copyright © 2018 Space Applications Services. All rights reserved.