com.atlassian.confluence.setup.settings
Enum ConfluenceFlavour
java.lang.Object
java.lang.Enum<ConfluenceFlavour>
com.atlassian.confluence.setup.settings.ConfluenceFlavour
- All Implemented Interfaces:
- Serializable, Comparable<ConfluenceFlavour>
public enum ConfluenceFlavour
- extends Enum<ConfluenceFlavour>
Represents the different possible flavours of Confluence in OnDemand.
VANILLA
public static final ConfluenceFlavour VANILLA
STANDALONE
public static final ConfluenceFlavour STANDALONE
ALACARTE
public static final ConfluenceFlavour ALACARTE
values
public static ConfluenceFlavour[] 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 (ConfluenceFlavour c : ConfluenceFlavour.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ConfluenceFlavour 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
selected
public static ConfluenceFlavour selected()
setSelected
public static void setSelected(ConfluenceFlavour flavour)
- For tests only. Not for normal use.
- Parameters:
flavour
- the flavour to set
Copyright © 2003-2013 Atlassian. All Rights Reserved.