Interface ArrivalMonitoringParameters

All Superinterfaces:
ecmwf.web.model.ModelBean
All Known Subinterfaces:
DataTransfer
All Known Implementing Classes:
ArrivalMonitoringParametersBean, DataTransferBaseBean, DataTransferHeavyBean, DataTransferLightBean

public interface ArrivalMonitoringParameters extends ecmwf.web.model.ModelBean
The Interface ArrivalMonitoringParameters.
  • Field Details

    • ARRIVAL_STATUS_NONE

      static final int ARRIVAL_STATUS_NONE
      The arrival status none.
      See Also:
    • ARRIVAL_STATUS_BEFORE_TARGET1

      static final int ARRIVAL_STATUS_BEFORE_TARGET1
      The arrival status before target1.
      See Also:
    • ARRIVAL_STATUS_BEFORE_PREDICTED

      static final int ARRIVAL_STATUS_BEFORE_PREDICTED
      The arrival status before predicted.
      See Also:
    • ARRIVAL_STATUS_BEFORE_TARGET2

      static final int ARRIVAL_STATUS_BEFORE_TARGET2
      The arrival status before target2.
      See Also:
    • ARRIVAL_STATUS_NOT_BEFORE_TARGET2

      static final int ARRIVAL_STATUS_NOT_BEFORE_TARGET2
      The arrival status not before target2.
      See Also:
    • ARRIVAL_STATUS_NOT_BEFORE_TARGET3

      static final int ARRIVAL_STATUS_NOT_BEFORE_TARGET3
      The arrival status not before target3.
      See Also:
    • ARRIVAL_STATUS_NOT_BEFORE_TARGET4

      static final int ARRIVAL_STATUS_NOT_BEFORE_TARGET4
      The arrival status not before target4.
      See Also:
    • COLORS

      static final Color[] COLORS
      The colors.
    • ANTICIPATION_TARGET1

      static final int ANTICIPATION_TARGET1
      The anticipation target1.
      See Also:
    • ANTICIPATION_TARGET2

      static final int ANTICIPATION_TARGET2
      The anticipation target2.
      See Also:
    • ANTICIPATION_TARGET3

      static final int ANTICIPATION_TARGET3
      The anticipation target3.
      See Also:
    • ANTICIPATION_TARGET4

      static final int ANTICIPATION_TARGET4
      The anticipation target4.
      See Also:
    • ARRIVAL_STATUS_OPERATORS_OK

      static final int ARRIVAL_STATUS_OPERATORS_OK
      The arrival status operators ok. The status to which things are reset after transmission is ok in the operators display.
      See Also:
  • Method Details

    • getArrivalTargetTime

      Date getArrivalTargetTime() throws TransferException
      TODO: The OFFSET should be configurable, not harcoded.
      Returns:
      Schedule time - OFFSET (=75m). This is a general target arbitrarily assigned my management
      Throws:
      TransferException - the transfer exception
    • getArrivalPredictedTime

      Date getArrivalPredictedTime() throws TransferException
      Guesswork. :-( 1 st dev using last 14 days discarding earliest and latest.
      Returns:
      Predicted value for arrival this time.
      Throws:
      TransferException - the transfer exception
    • getArrivalStatus

      int getArrivalStatus() throws TransferException
      Gets the arrival status.
      Returns:
      A status calculated as a function of all other four values
      Throws:
      TransferException - the transfer exception
    • getArrivalEarliestTime

      Date getArrivalEarliestTime() throws TransferException
      Gets the arrival earliest time.
      Returns:
      The earliest file arrival time for a default number of days
      Throws:
      TransferException - the transfer exception
    • getArrivalLatestTime

      Date getArrivalLatestTime() throws TransferException
      Gets the arrival latest time.
      Returns:
      The latest file arrival time for a default number of days
      Throws:
      TransferException - the transfer exception