java.lang.Object
org.scictrl.csshell.epics.server.processor.Checks<A>
Type Parameters:
A - use either Checks.Check or Checks.LinkCheck, any other class will cause errors

public final class Checks<A> extends Object

Checks class.

Author:
igor@scictrl.com
  • Method Details

    • checks

      public static final Checks<Checks.Check> checks(org.apache.commons.configuration.HierarchicalConfiguration config, String tag)

      checks.

      Parameters:
      config - a HierarchicalConfiguration object
      tag - a String object
      Returns:
      a Checks object
    • linkChecks

      public static final Checks<Checks.LinkCheck> linkChecks(org.apache.commons.configuration.HierarchicalConfiguration config, String tag, PropertyChangeListener listener)

      linkChecks.

      Parameters:
      config - a HierarchicalConfiguration object
      tag - a String object
      listener - a PropertyChangeListener object
      Returns:
      a Checks object
    • add

      public void add(A ch)

      add.

      Parameters:
      ch - a A object
    • getLastStatus

      public gov.aps.jca.dbr.Status getLastStatus()

      Getter for the field lastStatus.

      Returns:
      a Status object
    • check

      public boolean check(gov.aps.jca.dbr.Status st)

      check.

      Parameters:
      st - a Status object
      Returns:
      a boolean
    • check

      public boolean check(double value)

      check.

      Parameters:
      value - a double
      Returns:
      a boolean
    • activate

      public void activate(Database database)

      activate.

      Parameters:
      database - a Database object