|
Clearspace API (2.5.29) Core Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<JiveInterceptor.Type>
com.jivesoftware.community.JiveInterceptor.Type
public static enum JiveInterceptor.Type
Represents the different ways a JiveInterceptor may be run
| Enum Constant Summary | |
|---|---|
TYPE_EDIT
Interceptor that is run when jive objects are edited - for example by calling ForumMessage.setSubject(String) or
com.jivesoftware.community.ForumMessage#setBody(String). |
|
TYPE_POST
Interceptor that is run after the jive object has been accepted into the system. |
|
TYPE_PRE
Interceptor that is run before the jive object has been accepted into the system. |
|
| Method Summary | |
|---|---|
int |
getKey()
|
static JiveInterceptor.Type |
getType(int key)
A helper method to get a specific Type object from its key |
static JiveInterceptor.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static JiveInterceptor.Type[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final JiveInterceptor.Type TYPE_PRE
public static final JiveInterceptor.Type TYPE_POST
public static final JiveInterceptor.Type TYPE_EDIT
ForumMessage.setSubject(String) or
com.jivesoftware.community.ForumMessage#setBody(String).
| Method Detail |
|---|
public static final JiveInterceptor.Type[] values()
for(JiveInterceptor.Type c : JiveInterceptor.Type.values())
System.out.println(c);
public static JiveInterceptor.Type valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified namepublic int getKey()
public static JiveInterceptor.Type getType(int key)
key - the key value of the Type object
|
Clearspace Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||