public static enum RepoEngine.RequestType extends Enum<RepoEngine.RequestType>
Enum Constant and Description |
---|
CLEAR
Request to clear the engine repository
|
COMMIT_SESSION
Request to save the specified session.
|
CREATE_SESSION
Request to create a session.
|
ROLLBACK_SESSION
Request to rollback the specified session.
|
START
Request starting of the engine
|
STOP
Request stopping of the engine
|
Modifier and Type | Method and Description |
---|---|
static boolean |
isSessionRequest(RepoEngine.RequestType requestType) |
static RepoEngine.RequestType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RepoEngine.RequestType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RepoEngine.RequestType COMMIT_SESSION
JcrEngineThread.SessionRequest
public static final RepoEngine.RequestType CREATE_SESSION
public static final RepoEngine.RequestType ROLLBACK_SESSION
JcrEngineThread.SessionRequest
public static final RepoEngine.RequestType START
public static final RepoEngine.RequestType STOP
public static final RepoEngine.RequestType CLEAR
public static RepoEngine.RequestType[] values()
for (RepoEngine.RequestType c : RepoEngine.RequestType.values()) System.out.println(c);
public static RepoEngine.RequestType 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 static boolean isSessionRequest(RepoEngine.RequestType requestType)
Copyright © 2013–2019. All rights reserved.