public enum WebServerProfile extends Enum<WebServerProfile>
Enum Constant and Description |
---|
Disabled |
HttpOnly |
HttpRedirectedToHttps |
HttpsOnly |
Modifier and Type | Method and Description |
---|---|
String |
getLabel() |
static List<WebServerProfile> |
getUsableProfiles(Settings settings) |
boolean |
isHttpEnabled() |
boolean |
isHttpsEnabled() |
boolean |
isPreventedBy(List<ComplexConfigurationReason> complexConfigurationReasons) |
static WebServerProfile |
retrieveByFlags(boolean httpEnabled,
boolean httpsEnabled) |
static WebServerProfile |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WebServerProfile[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WebServerProfile Disabled
public static final WebServerProfile HttpOnly
public static final WebServerProfile HttpRedirectedToHttps
public static final WebServerProfile HttpsOnly
public static WebServerProfile[] values()
for (WebServerProfile c : WebServerProfile.values()) System.out.println(c);
public static WebServerProfile 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 boolean isHttpEnabled()
public boolean isHttpsEnabled()
public boolean isPreventedBy(@Nonnull List<ComplexConfigurationReason> complexConfigurationReasons)
public static WebServerProfile retrieveByFlags(boolean httpEnabled, boolean httpsEnabled)
@Nonnull public static List<WebServerProfile> getUsableProfiles(@Nonnull Settings settings)
Copyright © 2002-2015 Atlassian. All Rights Reserved.