Package oracle.pgx.common.auth
Enum PgxGeneralPermission
- java.lang.Object
-
- java.lang.Enum<PgxGeneralPermission>
-
- oracle.pgx.common.auth.PgxGeneralPermission
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<PgxGeneralPermission>
public enum PgxGeneralPermission extends java.lang.Enum<PgxGeneralPermission>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NONESERVER_GET_INFOSERVER_MANAGESESSION_ADD_PUBLISHED_GRAPHSESSION_COMPILE_ALGORITHMSESSION_CREATESESSION_GET_PUBLISHED_GRAPHSESSION_MODIFY_MODELSESSION_NEW_GRAPHSESSION_READ_MODEL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanallowsCompileAlgorithm()booleanallowsCreateFrame()booleanallowsCreateGraph()booleanallowsGetPublishedGraph()booleanallowsGetServerInfo()booleanallowsLoadFrame()booleanallowsManageServer()booleanallowsMlModelInference()booleanallowsMlModelReading()booleanallowsMlModelStoring()booleanallowsMlModelTraining()booleanallowsPublishGraph()booleanallowsSessionCreate()booleanallowsStoreFrame()java.lang.StringtoString()static PgxGeneralPermissionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PgxGeneralPermission[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final PgxGeneralPermission NONE
-
SESSION_CREATE
public static final PgxGeneralPermission SESSION_CREATE
-
SESSION_NEW_GRAPH
public static final PgxGeneralPermission SESSION_NEW_GRAPH
-
SESSION_GET_PUBLISHED_GRAPH
public static final PgxGeneralPermission SESSION_GET_PUBLISHED_GRAPH
-
SESSION_ADD_PUBLISHED_GRAPH
public static final PgxGeneralPermission SESSION_ADD_PUBLISHED_GRAPH
-
SESSION_COMPILE_ALGORITHM
public static final PgxGeneralPermission SESSION_COMPILE_ALGORITHM
-
SERVER_GET_INFO
public static final PgxGeneralPermission SERVER_GET_INFO
-
SERVER_MANAGE
public static final PgxGeneralPermission SERVER_MANAGE
-
SESSION_READ_MODEL
public static final PgxGeneralPermission SESSION_READ_MODEL
-
SESSION_MODIFY_MODEL
public static final PgxGeneralPermission SESSION_MODIFY_MODEL
-
-
Method Detail
-
values
public static PgxGeneralPermission[] 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 (PgxGeneralPermission c : PgxGeneralPermission.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PgxGeneralPermission 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
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<PgxGeneralPermission>
-
allowsSessionCreate
public boolean allowsSessionCreate()
-
allowsCreateGraph
public boolean allowsCreateGraph()
-
allowsGetPublishedGraph
public boolean allowsGetPublishedGraph()
-
allowsPublishGraph
public boolean allowsPublishGraph()
-
allowsCompileAlgorithm
public boolean allowsCompileAlgorithm()
-
allowsGetServerInfo
public boolean allowsGetServerInfo()
-
allowsManageServer
public boolean allowsManageServer()
-
allowsMlModelReading
public boolean allowsMlModelReading()
-
allowsMlModelInference
public boolean allowsMlModelInference()
-
allowsMlModelTraining
public boolean allowsMlModelTraining()
-
allowsMlModelStoring
public boolean allowsMlModelStoring()
-
allowsCreateFrame
public boolean allowsCreateFrame()
-
allowsStoreFrame
public boolean allowsStoreFrame()
-
allowsLoadFrame
public boolean allowsLoadFrame()
-
-