Package com.atlassian.confluence.it.rpc
Enum ConfluenceRpc.Version
- java.lang.Object
-
- java.lang.Enum<ConfluenceRpc.Version>
-
- com.atlassian.confluence.it.rpc.ConfluenceRpc.Version
-
- All Implemented Interfaces:
Serializable
,Comparable<ConfluenceRpc.Version>
- Enclosing class:
- ConfluenceRpc
public static enum ConfluenceRpc.Version extends Enum<ConfluenceRpc.Version>
Enumeration of all supported versions of the Confluence remote API
-
-
Enum Constant Summary
Enum Constants Enum Constant Description V1
The original confluence1 (pre-4.0) APIV2
The confluence2 (post-4.0) API with support for the xml storage formatV2_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 Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConfluenceRpc.Version
valueOf(String name)
Returns the enum constant of this type with the specified name.static ConfluenceRpc.Version[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
V1
public static final ConfluenceRpc.Version V1
The original confluence1 (pre-4.0) API
-
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 nameNullPointerException
- if the argument is null
-
-