stella.error
Class GoodWeather
java.lang.Object
java.util.EventObject
util.rmi.RmiEvent
stella.MessageEvent
stella.ErrorEvent
stella.error.GoodWeather
- All Implemented Interfaces:
- Serializable
public class GoodWeather
- extends ErrorEvent
A status indicating that the weather has changed to good weather condition.
This status is used to funnel weather events into an error handling schema.
It is only generated within an weather listener. Its follow-up action is
ErrorEvent.NONE as it is only important for the scheduler.
As weather changes are always important for the scheduling process, the
pipe flag is set. Different to bad weather, which is an error event and
handled by an error handler, good weather is only important for the
scheduler.
- See Also:
BadWeather,
Serialized Form
|
Field Summary |
private static String |
FOLLOWUP
The follow-up (shutdown). |
private static boolean |
PIPING
The pipe flag (false). |
private static int |
SEVERENESS
The severness level (fatal error). |
private static String |
TEXT
The human-readable part of the error message. |
| Fields inherited from class stella.ErrorEvent |
ABORT_EXPOSURE, ABORT_TARGET, ALARM_OFF, ALARM_ON, BAD_SEEING, BAD_WEATHER, CLEAR_TEL, CLOSE_COVER, CLOSE_ROOF, CLOSE_SHUTTER, CONT_TIME, ERROR_TOKEN, ERRORCOMBINE, ERRORPACKAGE, GOOD_WEATHER, HIGH_WIND, MAIL_HOME, MAIL_LOCAL, MOVE_HOME, MOVE_PARK, NONE, OPEN_COVER, OPEN_SHUTTER, PIPE, REACQUIRE, REPOSITION, RESEND_COMMAND, RESET_ADAPTER, RESET_CALIBRATION, RESET_CCD, RESET_ENV, RESET_ERRORS, RESET_SPEC, RESET_TEL, SHUT_DOWN, STATUS_TOKEN, STOP_TIME |
| Methods inherited from class stella.ErrorEvent |
consume, createError, createError, createError, createError, createError, createStatus, createStatus, createStatus, extractClassName, extractFollowUp, extractPipe, getErrorClass, getFollowUp, getHuman, getLine, getSevereness, isConsumed, isPipe, isStatus, parseClassName, parseHeader, parseLine, setFollowUp, setHuman, setHuman, setPipe |
| Methods inherited from class stella.MessageEvent |
checkType, equals, equalTime, equalTime, fromAscii, getAllCommandLines, getExecuteGroupKey, getHead, getNr, getTime, getType, hashCode, isValid, parseFromSingleString, readFromBufferedStream, setNr, setTime, setType, setValid, toString |
TEXT
private static final String TEXT
- The human-readable part of the error message.
- See Also:
- Constant Field Values
SEVERENESS
private static final int SEVERENESS
- The severness level (fatal error).
- See Also:
- Constant Field Values
FOLLOWUP
private static final String FOLLOWUP
- The follow-up (shutdown).
- See Also:
- Constant Field Values
PIPING
private static final boolean PIPING
- The pipe flag (false).
- See Also:
- Constant Field Values
GoodWeather
public GoodWeather(Object src)
- Constructs a good weather status message.
GoodWeather
public GoodWeather(Object src,
String type,
long time)
- Constructs a good weather status message.