Package no.digipost.api.client.testing
Enum DigipostApiMock.Method
- java.lang.Object
-
- java.lang.Enum<DigipostApiMock.Method>
-
- no.digipost.api.client.testing.DigipostApiMock.Method
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DigipostApiMock.Method>
,java.lang.constant.Constable
- Enclosing class:
- DigipostApiMock
public static enum DigipostApiMock.Method extends java.lang.Enum<DigipostApiMock.Method>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GET_CONTENT
GET_DOCUMENT_STATUS
GET_DOCUMENTS_EVENTS
GET_PRINT_CERTIFICATE
GET_SENDER_INFORMATION
IDENTIFY_RECIPIENT
MULTIPART_MESSAGE
SEND_MULTIPART_MESSAGE
-
Method Summary
Modifier and Type Method Description static DigipostApiMock.Method
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DigipostApiMock.Method[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SEND_MULTIPART_MESSAGE
public static final DigipostApiMock.Method SEND_MULTIPART_MESSAGE
-
GET_PRINT_CERTIFICATE
public static final DigipostApiMock.Method GET_PRINT_CERTIFICATE
-
GET_SENDER_INFORMATION
public static final DigipostApiMock.Method GET_SENDER_INFORMATION
-
GET_CONTENT
public static final DigipostApiMock.Method GET_CONTENT
-
MULTIPART_MESSAGE
public static final DigipostApiMock.Method MULTIPART_MESSAGE
-
GET_DOCUMENTS_EVENTS
public static final DigipostApiMock.Method GET_DOCUMENTS_EVENTS
-
GET_DOCUMENT_STATUS
public static final DigipostApiMock.Method GET_DOCUMENT_STATUS
-
IDENTIFY_RECIPIENT
public static final DigipostApiMock.Method IDENTIFY_RECIPIENT
-
-
Method Detail
-
values
public static DigipostApiMock.Method[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DigipostApiMock.Method 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
-
-