public class MocMode extends Object implements ProcessingMode
| Modifier and Type | Field and Description |
|---|---|
static MocFormat |
ASCII_FORMAT
MocFormat implementation that writes MOC 2.0 ASCII output.
|
static MocFormat |
FITS_FORMAT
MocFormat implementation that writes MOC 1.0-compliant FITS files.
|
static MocFormat |
JSON_FORMAT
MocFormat implementation that writes JSON files.
|
| Constructor and Description |
|---|
MocMode()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
TableConsumer |
createConsumer(Environment env)
Creates a TableConsumer, deriving any additional required
configuration from a given environment.
|
Parameter<?>[] |
getAssociatedParameters()
Returns a list of any parameters which are associated with this mode.
|
String |
getDescription()
Returns a textual description of this processing mode.
|
public static final MocFormat FITS_FORMAT
public static final MocFormat JSON_FORMAT
public static MocFormat ASCII_FORMAT
public Parameter<?>[] getAssociatedParameters()
ProcessingModegetAssociatedParameters in interface ProcessingModepublic String getDescription()
ProcessingModegetDescription in interface ProcessingModepublic TableConsumer createConsumer(Environment env) throws TaskException
ProcessingModecreateConsumer in interface ProcessingModeenv - execution environmentTaskExceptionCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.