Enum JythonTopLevelDataSetHandlerV2.JythonHookFunction
- java.lang.Object
-
- java.lang.Enum<JythonTopLevelDataSetHandlerV2.JythonHookFunction>
-
- ch.systemsx.cisd.etlserver.registrator.api.v2.JythonTopLevelDataSetHandlerV2.JythonHookFunction
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<JythonTopLevelDataSetHandlerV2.JythonHookFunction>
- Enclosing class:
- JythonTopLevelDataSetHandlerV2<T extends ch.systemsx.cisd.openbis.dss.generic.shared.dto.DataSetInformation>
public static enum JythonTopLevelDataSetHandlerV2.JythonHookFunction extends java.lang.Enum<JythonTopLevelDataSetHandlerV2.JythonHookFunction>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMMIT_TRANSACTION_FUNCTION_NAME
The name of the function called after successful transaction commit.DID_ENCOUNTER_SECONDARY_TRANSACTION_ERRORS_FUNCTION_NAME
The name of the function called when secondary transactions, DynamicTransactionQuery objects, fail.POST_REGISTRATION_FUNCTION_NAME
The name of the function called just after successful registration of datasets in application server.POST_STORAGE_FUNCTION_NAME
The name of the function called after successful transaction commit.PRE_REGISTRATION_FUNCTION_NAME
The name of the function called just before registration of datasets in application server.PROCESS_FUNCTION
The name of the v2 process function, that is executed during the registration.ROLLBACK_PRE_REGISTRATION_FUNCTION_NAME
The name of the function to define to hook into the transaction rollback mechanism.ROLLBACK_SERVICE_FUNCTION_NAME
The name of the function to define to hook into the service rollback mechanism.ROLLBACK_TRANSACTION_FUNCTION_NAME
The name of the function to define to hook into the transaction rollback mechanism.SHOULD_RETRY_PROCESS_FUNCTION_NAME
The name of the function to define to hook into the transaction rollback mechanism.
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
name
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JythonTopLevelDataSetHandlerV2.JythonHookFunction
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static JythonTopLevelDataSetHandlerV2.JythonHookFunction[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PROCESS_FUNCTION
public static final JythonTopLevelDataSetHandlerV2.JythonHookFunction PROCESS_FUNCTION
The name of the v2 process function, that is executed during the registration. A replacement for a top-level file body code in v1.
-
ROLLBACK_SERVICE_FUNCTION_NAME
public static final JythonTopLevelDataSetHandlerV2.JythonHookFunction ROLLBACK_SERVICE_FUNCTION_NAME
The name of the function to define to hook into the service rollback mechanism. V1 only.
-
ROLLBACK_TRANSACTION_FUNCTION_NAME
public static final JythonTopLevelDataSetHandlerV2.JythonHookFunction ROLLBACK_TRANSACTION_FUNCTION_NAME
The name of the function to define to hook into the transaction rollback mechanism. V1 only.
-
COMMIT_TRANSACTION_FUNCTION_NAME
public static final JythonTopLevelDataSetHandlerV2.JythonHookFunction COMMIT_TRANSACTION_FUNCTION_NAME
The name of the function called after successful transaction commit. V1 only.
-
POST_STORAGE_FUNCTION_NAME
public static final JythonTopLevelDataSetHandlerV2.JythonHookFunction POST_STORAGE_FUNCTION_NAME
The name of the function called after successful transaction commit.
-
PRE_REGISTRATION_FUNCTION_NAME
public static final JythonTopLevelDataSetHandlerV2.JythonHookFunction PRE_REGISTRATION_FUNCTION_NAME
The name of the function called just before registration of datasets in application server.
-
POST_REGISTRATION_FUNCTION_NAME
public static final JythonTopLevelDataSetHandlerV2.JythonHookFunction POST_REGISTRATION_FUNCTION_NAME
The name of the function called just after successful registration of datasets in application server.
-
ROLLBACK_PRE_REGISTRATION_FUNCTION_NAME
public static final JythonTopLevelDataSetHandlerV2.JythonHookFunction ROLLBACK_PRE_REGISTRATION_FUNCTION_NAME
The name of the function to define to hook into the transaction rollback mechanism.
-
SHOULD_RETRY_PROCESS_FUNCTION_NAME
public static final JythonTopLevelDataSetHandlerV2.JythonHookFunction SHOULD_RETRY_PROCESS_FUNCTION_NAME
The name of the function to define to hook into the transaction rollback mechanism.
-
DID_ENCOUNTER_SECONDARY_TRANSACTION_ERRORS_FUNCTION_NAME
public static final JythonTopLevelDataSetHandlerV2.JythonHookFunction DID_ENCOUNTER_SECONDARY_TRANSACTION_ERRORS_FUNCTION_NAME
The name of the function called when secondary transactions, DynamicTransactionQuery objects, fail.
-
-
Method Detail
-
values
public static JythonTopLevelDataSetHandlerV2.JythonHookFunction[] 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 (JythonTopLevelDataSetHandlerV2.JythonHookFunction c : JythonTopLevelDataSetHandlerV2.JythonHookFunction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JythonTopLevelDataSetHandlerV2.JythonHookFunction 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
-
-