public enum ExportScope extends java.lang.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(java.lang.String string)
Return an ExportScope for the given string.
|
java.lang.String |
getString()
This is the string that represents the scope in the exportDescriptor.properties file.
|
static ExportScope |
valueOf(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getString()
public static ExportScope getScopeFromPropertyValue(java.lang.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-2014 Atlassian. All Rights Reserved.