java.lang.Object
java.lang.Enum<MacroType>
org.sentrysoftware.metricshub.engine.common.helpers.MacroType
All Implemented Interfaces:
Serializable, Comparable<MacroType>, Constable

public enum MacroType extends Enum<MacroType>
Enum representing various types of macros. These constants are used to identify the different pieces of information required for authentication processes.
  • Enum Constant Details

    • USERNAME

      public static final MacroType USERNAME
    • PASSWORD

      public static final MacroType PASSWORD
    • HOSTNAME

      public static final MacroType HOSTNAME
    • AUTHENTICATIONTOKEN

      public static final MacroType AUTHENTICATIONTOKEN
    • PASSWORD_BASE64

      public static final MacroType PASSWORD_BASE64
    • BASIC_AUTH_BASE64

      public static final MacroType BASIC_AUTH_BASE64
    • SHA256_AUTH

      public static final MacroType SHA256_AUTH
  • Method Details

    • values

      public static MacroType[] 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 MacroType 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