public enum ExportScope extends Enum<ExportScope>
Modifier and Type | Class and Description |
---|---|
static class |
ExportScope.IllegalExportScopeException
Indicates an invalid export scope.
|
Modifier and Type | Method and Description |
---|---|
static ExportScope |
getScopeFromPropertyValue(String string)
Return an ExportScope for the given string.
|
String |
getString()
This is the string that represents the scope in the exportDescriptor.properties file.
|
static ExportScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExportScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExportScope PAGE
public static final ExportScope SPACE
public static final ExportScope ALL
public static ExportScope[] values()
for (ExportScope c : ExportScope.values()) System.out.println(c);
public static ExportScope 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 String getString()
public static ExportScope getScopeFromPropertyValue(String string) throws ExportScope.IllegalExportScopeException
string
- the string that would be used to represent the scope in the exportDescriptor.properties file.ExportScope.IllegalExportScopeException
- if no matching scope was found for the string.Copyright © 2003–2019 Atlassian. All rights reserved.