Class AbstractControl

    • Field Detail

      • logger

        protected final Logger logger
        Logger for this class.
      • oid

        private final String oid
        control oid.
      • criticality

        private final boolean criticality
        is control critical.
    • Constructor Detail

      • AbstractControl

        public AbstractControl​(String id)
        Creates a new abstract control.
        Parameters:
        id - OID of this control
      • AbstractControl

        public AbstractControl​(String id,
                               boolean b)
        Creates a new abstract control.
        Parameters:
        id - OID of this control
        b - whether this control is critical
    • Method Detail

      • getOID

        public String getOID()
        Description copied from interface: Control
        Returns the OID for this control.
        Specified by:
        getOID in interface Control
        Returns:
        oid
      • getCriticality

        public boolean getCriticality()
        Description copied from interface: Control
        Returns whether the control is critical.
        Specified by:
        getCriticality in interface Control
        Returns:
        whether the control is critical
      • hashCode

        public abstract int hashCode()
        Returns the hash code for this object.
        Overrides:
        hashCode in class Object
        Returns:
        hash code