Enum EPluginReplacementStatus

java.lang.Object
java.lang.Enum<EPluginReplacementStatus>
de.xima.fc.mdl.enums.EPluginReplacementStatus
All Implemented Interfaces:
Serializable, Comparable<EPluginReplacementStatus>

public enum EPluginReplacementStatus extends Enum<EPluginReplacementStatus>
Enumeration with the status of a placeholder replacement plugin. Indicates whether a plugin could resolve a placeholder.
Since:
8.0.0
Author:
XIMA MEDIA GmbH
  • Enum Constant Details

    • REPLACED

      public static final EPluginReplacementStatus REPLACED
      The placeholder could be resolved, the returned value should be used as the resolved value of the placeholder.
    • NOT_REPLACED

      public static final EPluginReplacementStatus NOT_REPLACED
      The placeholder could not be resolved. Other placeholder plugins should be attempted, and if no plugin can resolve the placeholder, placeholder resolution fails.
    • LEGACY

      @Deprecated public static final EPluginReplacementStatus LEGACY
      Deprecated.
      For backwards compatibility only, use either REPLACED or NOT_REPLACED.
      Legacy mode for deciding whether the placeholder could be resolved. When the resolved value equals the placeholder content, the placeholder is treated as if it could not be resolved. Otherwise, it is treated as resolved.
  • Method Details

    • values

      public static EPluginReplacementStatus[] 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 EPluginReplacementStatus 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 name
      NullPointerException - if the argument is null