Class ControlFlag


  • public class ControlFlag
    extends Object
    Control Flag for module entries
    Since:
    Aug 2, 2007
    Version:
    $Revision$
    Author:
    Anil.Saldhana@redhat.com
    • Constructor Detail

      • ControlFlag

        public ControlFlag​(String flag)
    • Method Detail

      • toString

        public String toString()
        Returns the string represented "required", "requisite" etc
        Overrides:
        toString in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • valueOf

        public static ControlFlag valueOf​(String flag)
        Method that returns the correct Control flag that is associated with the argument flag, which can be (REQUIRED, REQUISITE, SUFFICIENT and OPTIONAL)
        Parameters:
        flag -
        Returns:
        Throws:
        IllegalArgumentException - when flag is different from the four above