public enum UrlMode extends Enum<UrlMode>
MarkupService
method what to do with generated URLs.Enum Constant and Description |
---|
ABSOLUTE
Absolute URL format, with URL scheme, hostname, port (if non-standard for the scheme), and context path.
|
CONFIGURED
Configured URL format, always uses the system settings.
|
RELATIVE
Relative URL format, containing just the context path.
|
Modifier and Type | Method and Description |
---|---|
static UrlMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UrlMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UrlMode ABSOLUTE
public static final UrlMode RELATIVE
public static final UrlMode CONFIGURED
public static UrlMode[] values()
for (UrlMode c : UrlMode.values()) System.out.println(c);
public static UrlMode 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 © 2019 Atlassian. All rights reserved.