Enum ConfluenceRpc.Version

    • Enum Constant Detail

      • V2

        public static final ConfluenceRpc.Version V2
        The confluence2 (post-4.0) API with support for the xml storage format
      • V2_WITH_WIKI_MARKUP

        public static final ConfluenceRpc.Version V2_WITH_WIKI_MARKUP
        The V2 API, except for calls to create content which are passed through the V1 API so tests can create content with wiki markup.
    • Method Detail

      • values

        public static ConfluenceRpc.Version[] 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 (ConfluenceRpc.Version c : ConfluenceRpc.Version.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ConfluenceRpc.Version 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