Package de.adorsys.psd2.event.core.model
Enum EventOrigin
- java.lang.Object
-
- java.lang.Enum<EventOrigin>
-
- de.adorsys.psd2.event.core.model.EventOrigin
-
- All Implemented Interfaces:
Serializable,Comparable<EventOrigin>
public enum EventOrigin extends Enum<EventOrigin>
Contains information about the origin of the event.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASPSPEvent generated by the request from the ASPSP.ASPSP_PSU_INTERFACEEvent generated by the request from the ASPSP PSU interface.TPPEvent generated by the TPP request to XS2A.XS2A_INTERNALInternal XS2A event.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EventOriginvalueOf(String name)Returns the enum constant of this type with the specified name.static EventOrigin[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ASPSP
public static final EventOrigin ASPSP
Event generated by the request from the ASPSP.
-
TPP
public static final EventOrigin TPP
Event generated by the TPP request to XS2A.
-
ASPSP_PSU_INTERFACE
public static final EventOrigin ASPSP_PSU_INTERFACE
Event generated by the request from the ASPSP PSU interface.
-
XS2A_INTERNAL
public static final EventOrigin XS2A_INTERNAL
Internal XS2A event.
-
-
Method Detail
-
values
public static EventOrigin[] 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 (EventOrigin c : EventOrigin.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EventOrigin 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
-
-