public class ProcessorFactory extends Object
| Constructor and Description |
|---|
ProcessorFactory() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
static Processor |
create(String instance,
String name,
String type,
TcTmService tctms,
String creator) |
static Processor |
create(String instance,
String name,
String type,
TcTmService tctms,
String creator,
Map<String,Object> config)
Create a Processor by specifying the service.
|
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, TcTmService tctms, String creator) throws ProcessorException, ConfigurationException
public static Processor create(String instance, String name, String type, TcTmService tctms, String creator, Map<String,Object> config) throws ProcessorException, ConfigurationException
instance - name - type - tctms - creator - config - ProcessorExceptionConfigurationExceptionCopyright © 2018 Space Applications Services. All rights reserved.