Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle BPM Suite
11g Release 1 (11.1.1.6.3)
E25378-06


oracle.bpm.services.instancequery
Enum AuditInstanceOperation

java.lang.Object
  extended by java.lang.Enum<AuditInstanceOperation>
      extended by oracle.bpm.services.instancequery.AuditInstanceOperation

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

public enum AuditInstanceOperation
extends java.lang.Enum<AuditInstanceOperation>
implements java.io.Serializable

An eumeration that specifies the possible "operations" of the BPMN engine. The operations are the names given to the audit points that document the start and completion of an activity or process. Additional operations are used to document other interactions with a process such as instance migration, fault conditions or forced termination.


Enum Constant Summary
AFTER_INPUT_DATA_ASSOCIATION
          A logging operation to provide a after-input-data-association message.
AFTER_INSTANCE_EXECUTION
          A logging operation to provide a after-instance-execution message.
AFTER_OUTPUT_DATA_ASSOCIATION
          A logging operation to provide a after-output-data-association message.
BEFORE_INPUT_DATA_ASSOCIATION
          A logging operation to provide a before-input-data-association message.
BEFORE_INSTANCE_EXECUTION
          A logging operation to provide a before-instance-execution message.
BEFORE_ITERATION
          A logging operation to provide a before-iteration message.
BEFORE_OUTPUT_DATA_ASSOCIATION
          A logging operation to provide a before-output-data-association message.
COMPONENT_DEPLOYED
          Currently only thrown by BpmnDesignSchema to for BPM-BAM to set DEPLOYED status.
COMPONENT_RETIRED
          Currently only thrown by BpmnDesignSchema to for BPM-BAM to set RETIRED status.
COMPONENT_SUSPENDED
          Currently only thrown by BpmnDesignSchema to for BPM-BAM to set SUSPENDED status.
COMPONENT_UNDEPLOYED
          Currently only thrown by BpmnDesignSchema to for BPM-BAM to set UNDEPLOYED status.
FLOW_NODE_CANCELLED
          A post-audit operation to indicate that the process has been cancelled.
FLOW_NODE_DATA_CHANGED
          Deprecated.  
FLOW_NODE_IN
          The standard pre-audit operation to signify the start of a flow-element.
FLOW_NODE_MOVED
          An instance migration operation to indicate that the execution of the associated activity has been terminated and moved to another flow-element.
FLOW_NODE_OUT
          The standard post-audit operation to signify the completion of a flow-element.
INSTANCE_ABORTED
          A post-audit operation to indicate that the process has been aborted.
INSTANCE_CREATED
          A pre-audit operation to indicate that a process instance has been created.
INSTANCE_FAULT
          A post-audit operation to indicate that a fault has been thrown.
INSTANCE_RESUMED
          An instancemigration operation to indicate that the process instance has been resumed.
INSTANCE_SUSPENDED
          An instance migration operation to indicate that the process instance has been suspended.
INSTANCE_SYSTEM_FAULT
          A post-audit operation to indicate that an unhandled exception has been encountered.
INSTANCE_TERMINATED
          A post-audit operation to indicate the completion of a process instance.
INSTANCE_UPDATED
          An instance migration operation to indicate that there has been a manual update to a data object.
MEASUREMENT_COUNTER
          A measurement operation to signify a counter mark has been processed.
MEASUREMENT_START
          A measurement operation to signify that a "start" measurement mark has been processed.
MEASUREMENT_START_STOP
          A measurement operation to signify that a "start-stop" measurement mark has been processed.
MEASUREMENT_STOP
          A measurement operation to signify that a "stop" measurement mark has been processed.
STALE_ABORTED
          A post-audit operation to indicate that the process has been aborted during undeployment.
STALE_COMPLETED
          A post-audit operation to indicate that the completed process has been undeployed.

 

Method Summary
 java.lang.String getType(boolean isEntry)
          Returns the type of the operation qualified by the entry flag.
static AuditInstanceOperation valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AuditInstanceOperation[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.

 

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

 

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

 

Enum Constant Detail

COMPONENT_DEPLOYED

public static final AuditInstanceOperation COMPONENT_DEPLOYED
Currently only thrown by BpmnDesignSchema to for BPM-BAM to set DEPLOYED status.

COMPONENT_RETIRED

public static final AuditInstanceOperation COMPONENT_RETIRED
Currently only thrown by BpmnDesignSchema to for BPM-BAM to set RETIRED status.

COMPONENT_SUSPENDED

public static final AuditInstanceOperation COMPONENT_SUSPENDED
Currently only thrown by BpmnDesignSchema to for BPM-BAM to set SUSPENDED status.

COMPONENT_UNDEPLOYED

public static final AuditInstanceOperation COMPONENT_UNDEPLOYED
Currently only thrown by BpmnDesignSchema to for BPM-BAM to set UNDEPLOYED status.

FLOW_NODE_IN

public static final AuditInstanceOperation FLOW_NODE_IN
The standard pre-audit operation to signify the start of a flow-element.

FLOW_NODE_OUT

public static final AuditInstanceOperation FLOW_NODE_OUT
The standard post-audit operation to signify the completion of a flow-element.

FLOW_NODE_CANCELLED

public static final AuditInstanceOperation FLOW_NODE_CANCELLED
A post-audit operation to indicate that the process has been cancelled.

FLOW_NODE_MOVED

public static final AuditInstanceOperation FLOW_NODE_MOVED
An instance migration operation to indicate that the execution of the associated activity has been terminated and moved to another flow-element. The target of the move will be indicated in the sourceActivity of the IAuditInstance.

FLOW_NODE_DATA_CHANGED

public static final AuditInstanceOperation FLOW_NODE_DATA_CHANGED
Deprecated. 
An instance migration operation to indicate that there has been a manual update to a data object. The data object changed, the pre and post values will be documented in the payload of the IAuditInstance.
See Also:
INSTANCE_UPDATED

INSTANCE_UPDATED

public static final AuditInstanceOperation INSTANCE_UPDATED
An instance migration operation to indicate that there has been a manual update to a data object. The data object changed, the pre and post values will be documented in the payload of the IAuditInstance.

INSTANCE_ABORTED

public static final AuditInstanceOperation INSTANCE_ABORTED
A post-audit operation to indicate that the process has been aborted.

INSTANCE_CREATED

public static final AuditInstanceOperation INSTANCE_CREATED
A pre-audit operation to indicate that a process instance has been created.

INSTANCE_FAULT

public static final AuditInstanceOperation INSTANCE_FAULT
A post-audit operation to indicate that a fault has been thrown.

INSTANCE_SYSTEM_FAULT

public static final AuditInstanceOperation INSTANCE_SYSTEM_FAULT
A post-audit operation to indicate that an unhandled exception has been encountered.

INSTANCE_TERMINATED

public static final AuditInstanceOperation INSTANCE_TERMINATED
A post-audit operation to indicate the completion of a process instance.

INSTANCE_SUSPENDED

public static final AuditInstanceOperation INSTANCE_SUSPENDED
An instance migration operation to indicate that the process instance has been suspended.

INSTANCE_RESUMED

public static final AuditInstanceOperation INSTANCE_RESUMED
An instancemigration operation to indicate that the process instance has been resumed.

MEASUREMENT_COUNTER

public static final AuditInstanceOperation MEASUREMENT_COUNTER
A measurement operation to signify a counter mark has been processed.

MEASUREMENT_START

public static final AuditInstanceOperation MEASUREMENT_START
A measurement operation to signify that a "start" measurement mark has been processed.

MEASUREMENT_START_STOP

public static final AuditInstanceOperation MEASUREMENT_START_STOP
A measurement operation to signify that a "start-stop" measurement mark has been processed.

MEASUREMENT_STOP

public static final AuditInstanceOperation MEASUREMENT_STOP
A measurement operation to signify that a "stop" measurement mark has been processed.

STALE_ABORTED

public static final AuditInstanceOperation STALE_ABORTED
A post-audit operation to indicate that the process has been aborted during undeployment.

STALE_COMPLETED

public static final AuditInstanceOperation STALE_COMPLETED
A post-audit operation to indicate that the completed process has been undeployed.

BEFORE_INPUT_DATA_ASSOCIATION

public static final AuditInstanceOperation BEFORE_INPUT_DATA_ASSOCIATION
A logging operation to provide a before-input-data-association message. The message will be available in the IAuditInstance payload.

AFTER_INPUT_DATA_ASSOCIATION

public static final AuditInstanceOperation AFTER_INPUT_DATA_ASSOCIATION
A logging operation to provide a after-input-data-association message. The message will be available in the IAuditInstance payload.

BEFORE_OUTPUT_DATA_ASSOCIATION

public static final AuditInstanceOperation BEFORE_OUTPUT_DATA_ASSOCIATION
A logging operation to provide a before-output-data-association message. The message will be available in the IAuditInstance payload.

AFTER_OUTPUT_DATA_ASSOCIATION

public static final AuditInstanceOperation AFTER_OUTPUT_DATA_ASSOCIATION
A logging operation to provide a after-output-data-association message. The message will be available in the IAuditInstance payload.

BEFORE_ITERATION

public static final AuditInstanceOperation BEFORE_ITERATION
A logging operation to provide a before-iteration message. The message will be available in the IAuditInstance payload.

BEFORE_INSTANCE_EXECUTION

public static final AuditInstanceOperation BEFORE_INSTANCE_EXECUTION
A logging operation to provide a before-instance-execution message. The message will be available in the IAuditInstance payload.

AFTER_INSTANCE_EXECUTION

public static final AuditInstanceOperation AFTER_INSTANCE_EXECUTION
A logging operation to provide a after-instance-execution message. The message will be available in the IAuditInstance payload.

Method Detail

values

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

valueOf

public static AuditInstanceOperation 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

getType

public java.lang.String getType(boolean isEntry)
Returns the type of the operation qualified by the entry flag. This method is used by the BPMN Engine to assist with audit message preperation. The type refers to if the operation is a pre-audit, post-audit or intermediate. These are signified with the following return values:
pre-audit START
post-audit END
intermediate INTERMEDIATE
The INTERMEDIATE type refers to operations associated with measurement or instance migration like INSTANCE_UPDATED.
Parameters:
isEntry - - To indicate if the caller is processing a pre-audit message (true).
Returns:

Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle BPM Suite
11g Release 1 (11.1.1.6.3)
E25378-06


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