Enum WikiMode

    • Enum Constant Detail

      • PORTLETPREFERENCES

        public static final WikiMode PORTLETPREFERENCES
      • VIEW

        public static final WikiMode VIEW
      • EDITPAGE

        public static final WikiMode EDITPAGE
      • ADDPAGE

        public static final WikiMode ADDPAGE
      • ADVANCEDSEARCH

        public static final WikiMode ADVANCEDSEARCH
      • SHOWHISTORY

        public static final WikiMode SHOWHISTORY
      • COMPAREREVISION

        public static final WikiMode COMPAREREVISION
      • PAGE_NOT_FOUND

        public static final WikiMode PAGE_NOT_FOUND
      • VIEWREVISION

        public static final WikiMode VIEWREVISION
      • PAGEINFO

        public static final WikiMode PAGEINFO
      • EDITTEMPLATE

        public static final WikiMode EDITTEMPLATE
      • ADDTEMPLATE

        public static final WikiMode ADDTEMPLATE
      • SPACESETTING

        public static final WikiMode SPACESETTING
      • MYDRAFTS

        public static final WikiMode MYDRAFTS
    • Method Detail

      • values

        public static WikiMode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (WikiMode c : WikiMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static WikiMode valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null