Package org.apache.wiki.api.core
Enum ContextEnum
- java.lang.Object
-
- java.lang.Enum<ContextEnum>
-
- org.apache.wiki.api.core.ContextEnum
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ContextEnum>
public enum ContextEnum extends java.lang.Enum<ContextEnum>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getContentTemplate()
java.lang.String
getRequestContext()
java.lang.String
getUrlPattern()
static ContextEnum
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ContextEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GROUP_DELETE
public static final ContextEnum GROUP_DELETE
-
GROUP_EDIT
public static final ContextEnum GROUP_EDIT
-
GROUP_VIEW
public static final ContextEnum GROUP_VIEW
-
PAGE_ATTACH
public static final ContextEnum PAGE_ATTACH
-
PAGE_COMMENT
public static final ContextEnum PAGE_COMMENT
-
PAGE_CONFLICT
public static final ContextEnum PAGE_CONFLICT
-
PAGE_DELETE
public static final ContextEnum PAGE_DELETE
-
PAGE_DIFF
public static final ContextEnum PAGE_DIFF
-
PAGE_EDIT
public static final ContextEnum PAGE_EDIT
-
PAGE_INFO
public static final ContextEnum PAGE_INFO
-
PAGE_NONE
public static final ContextEnum PAGE_NONE
-
PAGE_PREVIEW
public static final ContextEnum PAGE_PREVIEW
-
PAGE_RENAME
public static final ContextEnum PAGE_RENAME
-
PAGE_RSS
public static final ContextEnum PAGE_RSS
-
PAGE_UPLOAD
public static final ContextEnum PAGE_UPLOAD
-
PAGE_VIEW
public static final ContextEnum PAGE_VIEW
-
REDIRECT
public static final ContextEnum REDIRECT
-
WIKI_ADMIN
public static final ContextEnum WIKI_ADMIN
-
WIKI_CREATE_GROUP
public static final ContextEnum WIKI_CREATE_GROUP
-
WIKI_ERROR
public static final ContextEnum WIKI_ERROR
-
WIKI_FIND
public static final ContextEnum WIKI_FIND
-
WIKI_INSTALL
public static final ContextEnum WIKI_INSTALL
-
WIKI_LOGIN
public static final ContextEnum WIKI_LOGIN
-
WIKI_LOGOUT
public static final ContextEnum WIKI_LOGOUT
-
WIKI_MESSAGE
public static final ContextEnum WIKI_MESSAGE
-
WIKI_PREFS
public static final ContextEnum WIKI_PREFS
-
WIKI_WORKFLOW
public static final ContextEnum WIKI_WORKFLOW
-
-
Method Detail
-
values
public static ContextEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ContextEnum c : ContextEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ContextEnum valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getContentTemplate
public java.lang.String getContentTemplate()
-
getRequestContext
public java.lang.String getRequestContext()
-
getUrlPattern
public java.lang.String getUrlPattern()
-
-