Enum JanusConnectorErrorCode
- java.lang.Object
-
- java.lang.Enum<JanusConnectorErrorCode>
-
- org.odpi.openmetadata.openconnectors.governancedaemonconnectors.openlineageconnectors.janusconnector.model.JanusConnectorErrorCode
-
- All Implemented Interfaces:
Serializable,Comparable<JanusConnectorErrorCode>,AuditLogMessageSet
public enum JanusConnectorErrorCode extends Enum<JanusConnectorErrorCode> implements AuditLogMessageSet
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANNOT_OPEN_GRAPH_DBGRAPH_DISCONNECT_ERRORGRAPH_INITIALIZATION_ERRORGRAPH_TRAVERSAL_EMPTYINDEX_ALREADY_EXISTSINDEX_NOT_CREATEDINDEX_NOT_ENABLEDPROCESS_MAPPING_ERROR
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetErrorMessage()StringgetErrorMessageId()StringgetFormattedErrorMessage(String... params)AuditLogMessageDefinitiongetMessageDefinition()AuditLogMessageDefinitiongetMessageDefinition(String... params)StringgetSystemAction()StringgetUserAction()static JanusConnectorErrorCodevalueOf(String name)Returns the enum constant of this type with the specified name.static JanusConnectorErrorCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CANNOT_OPEN_GRAPH_DB
public static final JanusConnectorErrorCode CANNOT_OPEN_GRAPH_DB
-
GRAPH_INITIALIZATION_ERROR
public static final JanusConnectorErrorCode GRAPH_INITIALIZATION_ERROR
-
GRAPH_TRAVERSAL_EMPTY
public static final JanusConnectorErrorCode GRAPH_TRAVERSAL_EMPTY
-
GRAPH_DISCONNECT_ERROR
public static final JanusConnectorErrorCode GRAPH_DISCONNECT_ERROR
-
PROCESS_MAPPING_ERROR
public static final JanusConnectorErrorCode PROCESS_MAPPING_ERROR
-
INDEX_NOT_CREATED
public static final JanusConnectorErrorCode INDEX_NOT_CREATED
-
INDEX_NOT_ENABLED
public static final JanusConnectorErrorCode INDEX_NOT_ENABLED
-
INDEX_ALREADY_EXISTS
public static final JanusConnectorErrorCode INDEX_ALREADY_EXISTS
-
-
Method Detail
-
values
public static JanusConnectorErrorCode[] 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 (JanusConnectorErrorCode c : JanusConnectorErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JanusConnectorErrorCode valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getErrorMessageId
public String getErrorMessageId()
-
getErrorMessage
public String getErrorMessage()
-
getSystemAction
public String getSystemAction()
-
getUserAction
public String getUserAction()
-
getMessageDefinition
public AuditLogMessageDefinition getMessageDefinition()
- Specified by:
getMessageDefinitionin interfaceAuditLogMessageSet
-
getMessageDefinition
public AuditLogMessageDefinition getMessageDefinition(String... params)
- Specified by:
getMessageDefinitionin interfaceAuditLogMessageSet
-
-