public static enum ConfluenceRpc.Version extends Enum<ConfluenceRpc.Version>
Enum Constant and Description |
---|
V1
The original confluence1 (pre-4.0) API
|
V2
The confluence2 (post-4.0) API with support for the xml storage format
|
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.
|
Modifier and Type | Method and 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.
|
public static final ConfluenceRpc.Version V1
public static final ConfluenceRpc.Version V2
public static final ConfluenceRpc.Version V2_WITH_WIKI_MARKUP
public static ConfluenceRpc.Version[] values()
for (ConfluenceRpc.Version c : ConfluenceRpc.Version.values()) System.out.println(c);
public static ConfluenceRpc.Version valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2003–2019 Atlassian. All rights reserved.