public class MocMode extends java.lang.Object implements ProcessingMode
| Modifier and Type | Field and Description |
|---|---|
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(uk.ac.starlink.task.Environment env)
Creates a TableConsumer, deriving any additional required
configuration from a given environment.
|
uk.ac.starlink.task.Parameter[] |
getAssociatedParameters()
Returns a list of any parameters which are associated with this mode.
|
java.lang.String |
getDescription()
Returns a textual description of this processing mode.
|
static void |
setChecked(cds.moc.HealpixMoc moc,
boolean checked)
Sets the continuous checking flag for the MOC object.
|
public static final MocFormat FITS_FORMAT
public static final MocFormat JSON_FORMAT
public uk.ac.starlink.task.Parameter[] getAssociatedParameters()
ProcessingModegetAssociatedParameters in interface ProcessingModepublic java.lang.String getDescription()
ProcessingModegetDescription in interface ProcessingModepublic TableConsumer createConsumer(uk.ac.starlink.task.Environment env) throws uk.ac.starlink.task.TaskException
ProcessingModecreateConsumer in interface ProcessingModeenv - execution environmentuk.ac.starlink.task.TaskExceptionpublic static void setChecked(cds.moc.HealpixMoc moc,
boolean checked)
throws java.io.IOException
moc - MOC to affectchecked - true iff continuous checking should be performedjava.io.IOExceptionCopyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.