Interface ScanApplication.ScanningTask.ScanController

Enclosing class:
ScanApplication.ScanningTask

public static interface ScanApplication.ScanningTask.ScanController
Interface that facilitates connection to undelaying services and context.
Author:
igor@scictrl.com
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Notifies that scan is done
    void
    error(String message, Throwable e)
    Reports error to underlying context
    boolean
    Checks if setpoint control point is ready for set action.
    org.apache.logging.log4j.Logger
    log()
    Logger for general logging
    boolean
    setValue(double d)
    Set action, sets value to the setpoint
  • Method Details

    • log

      org.apache.logging.log4j.Logger log()
      Logger for general logging
      Returns:
      Logger for general logging
    • setValue

      boolean setValue(double d)
      Set action, sets value to the setpoint
      Parameters:
      d - the value to be set
      Returns:
      returns true if set command succeeded.
    • isSetReady

      boolean isSetReady()
      Checks if setpoint control point is ready for set action.
      Returns:
      true if setpoint can be set
    • error

      void error(String message, Throwable e)
      Reports error to underlying context
      Parameters:
      message - error message
      e - Throwable causing error
    • done

      Notifies that scan is done
      Parameters:
      task - the task that is done