Enum Class BankIdOperation

java.lang.Object
java.lang.Enum<BankIdOperation>
se.swedenconnect.bankid.idp.authn.context.BankIdOperation
All Implemented Interfaces:
Serializable, Comparable<BankIdOperation>, Constable

public enum BankIdOperation extends Enum<BankIdOperation>
An enum representing a BankID operation.
Author:
Martin Lindström, Felix Hellman
  • Enum Constant Details

  • Method Details

    • values

      public static BankIdOperation[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static BankIdOperation valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • forValue

      public static BankIdOperation forValue(String value)
      Given a string representation its enum object is returned.
      Parameters:
      value - the string representation
      Returns:
      a BankIdOperation
    • getValue

      public String getValue()
      Returns the string representation of the enum.
      Returns:
      the string representation