public enum ConfluenceFlavour extends Enum<ConfluenceFlavour>
Enum Constant and Description |
---|
ALACARTE |
STANDALONE |
VANILLA |
Modifier and Type | Method and Description |
---|---|
static ConfluenceFlavour |
selected() |
static void |
setSelected(ConfluenceFlavour flavour)
Used to dynamically change the flavour in OnDemand from
com.atlassian.studio.confluence.common.services.ConfluenceFlavourService . |
static ConfluenceFlavour |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConfluenceFlavour[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfluenceFlavour VANILLA
public static final ConfluenceFlavour STANDALONE
public static final ConfluenceFlavour ALACARTE
public static ConfluenceFlavour[] values()
for (ConfluenceFlavour c : ConfluenceFlavour.values()) System.out.println(c);
public static ConfluenceFlavour 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 nullpublic static ConfluenceFlavour selected()
public static void setSelected(ConfluenceFlavour flavour)
com.atlassian.studio.confluence.common.services.ConfluenceFlavourService
.
Prefer com.atlassian.studio.confluence.common.services.ConfluenceFlavourService#setFlavourFromLicense()
,
which toggles flavour-dependent OnDemand plugins.
flavour
- the flavour to set as the current flavour.Copyright © 2003–2016 Atlassian. All rights reserved.