Enum Class Phase

java.lang.Object
java.lang.Enum<Phase>
org.zkoss.bind.Phase
All Implemented Interfaces:
Serializable, Comparable<Phase>, Constable

public enum Phase extends Enum<Phase>
The Phase of PhaseListener when doing binding. There are currently seven phases that executed in that order:
Command :

Global Command :
Since:
6.0.0
Author:
dennis
  • Enum Constant Details

    • COMMAND

      public static final Phase COMMAND
      command phase.
    • GLOBAL_COMMAND

      public static final Phase GLOBAL_COMMAND
      global command phase.
    • VALIDATE

      public static final Phase VALIDATE
      validate phase.
    • SAVE_BEFORE

      public static final Phase SAVE_BEFORE
      save before command phase.
    • LOAD_BEFORE

      public static final Phase LOAD_BEFORE
      load before command phase.
    • EXECUTE

      public static final Phase EXECUTE
      command execution phase.
    • SAVE_AFTER

      public static final Phase SAVE_AFTER
      save after command phase.
    • LOAD_AFTER

      public static final Phase LOAD_AFTER
      load after command phase.
    • SAVE_BINDING

      public static final Phase SAVE_BINDING
      save binding phase.
    • LOAD_BINDING

      public static final Phase LOAD_BINDING
      load binding phase.
    • INITIAL_BINDING

      public static final Phase INITIAL_BINDING
      initial binding phase
      Since:
      8.0.0
  • Method Details

    • values

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