Class Controls


  • public final class Controls
    extends Object
    Utility class to resolve controls OID from aliases.
    • Method Detail

      • getControlOidForAlias

        public static String getControlOidForAlias​(String alias)
        Returns the control OID associated with the provided control "friendly name" alias or the provided alias if no OID has been found.
        Parameters:
        alias - Friendly name alias to resolve
        Returns:
        The control OID associated with the provided control "friendly name" alias or the provided alias if no OID has been found.
      • isControlAlias

        public static boolean isControlAlias​(String alias)
        Returns true if the provided alias is a known user friendly name of a control.
        Parameters:
        alias - Friendly name alias to resolve
        Returns:
        true if the provided alias is a known user friendly name of a control.
      • getControlAlias

        public static String getControlAlias​(String oid)
        Returns the control OID associated with the provided control "friendly name" alias or the provided alias if no OID has been found.
        Parameters:
        oid - The control OID to resolve
        Returns:
        Friendly name alias associated with the provided control OID or the provided OID if no alias has been found.