Skip navigation links

Oracle Access Manager Extensibility Java API Reference
11g Release 1 (11.1.1.5)

E22473-01


oracle.security.am.plugin
Enum ExecutionStatus

java.lang.Object
  extended by java.lang.Enum<ExecutionStatus>
      extended by oracle.security.am.plugin.ExecutionStatus

All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ExecutionStatus>

public enum ExecutionStatus
extends java.lang.Enum<ExecutionStatus>

Status of the plug-in execution. ABORT and plug-in missing will be treated the same way. If a plug-in is missing during authentication status ABORT will be returned.

Since:
OAM 11.1.1.5.0
Version:
OAM 11.1.1.5.0

Enum Constant Summary
ABORT
          Exception during plug-in will result in Abort status.
FAILURE
          Plug-in failure status.
SUCCESS
          Plug-in success status.

 

Method Summary
 int getErrorCode()
          Gets the error code.
 java.lang.String getErrorMsg()
          Gets the error msg.
 int getStatus()
          Gets the status.
 void setErrorCode(int errorCode)
          Sets the error code.
 void setErrorMsg(java.lang.String errorMsg)
          Sets the error msg.
static ExecutionStatus valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ExecutionStatus[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.

 

Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

 

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

 

Enum Constant Detail

SUCCESS

public static final ExecutionStatus SUCCESS
Plug-in success status. PluginExecutionStrategy will decide the next plug-in to be executed

FAILURE

public static final ExecutionStatus FAILURE
Plug-in failure status. Do not execute next plug-in. (we can define opcode for detail msg.)

ABORT

public static final ExecutionStatus ABORT
Exception during plug-in will result in Abort status. (we can define the opcode for detail msg.)

Method Detail

values

public static ExecutionStatus[] 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 (ExecutionStatus c : ExecutionStatus.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ExecutionStatus 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 name
java.lang.NullPointerException - if the argument is null

getStatus

public int getStatus()
Gets the status.
Returns:
the status

setErrorMsg

public void setErrorMsg(java.lang.String errorMsg)
Sets the error msg.
Parameters:
errorMsg - the new error msg

getErrorMsg

public java.lang.String getErrorMsg()
Gets the error msg.
Returns:
the error msg

setErrorCode

public void setErrorCode(int errorCode)
Sets the error code.
Parameters:
errorCode - the new error code

getErrorCode

public int getErrorCode()
Gets the error code.
Returns:
the error code

Skip navigation links

Oracle Access Manager Extensibility Java API Reference
11g Release 1 (11.1.1.5)

E22473-01


Copyright © 2011, Oracle and/or its affiliates. All rights reserved.