Enum Class OperatorFiles.WriteResult

java.lang.Object
java.lang.Enum<OperatorFiles.WriteResult>
com.ultikits.ultitools.config.OperatorFiles.WriteResult
All Implemented Interfaces:
Serializable, Comparable<OperatorFiles.WriteResult>, java.lang.constant.Constable
Enclosing class:
OperatorFiles

public static enum OperatorFiles.WriteResult extends Enum<OperatorFiles.WriteResult>
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    The file no longer holds the snapshot's bytes (edited, replaced or deleted since it was read); nothing was written.
    Writing the keys would have changed something else in the file - a layout the renderer cannot keep byte for byte, YAML anchors, aliases or merge keys - or the file cannot be parsed; nothing was written, and one WARNING in the server log names the file, the keys and the reason.
    The file already holds those values; nothing was written.
    The named keys were written; nothing else in the file changed.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • WRITTEN

      public static final OperatorFiles.WriteResult WRITTEN
      The named keys were written; nothing else in the file changed.
    • UNCHANGED

      public static final OperatorFiles.WriteResult UNCHANGED
      The file already holds those values; nothing was written.
    • FILE_CHANGED

      public static final OperatorFiles.WriteResult FILE_CHANGED
      The file no longer holds the snapshot's bytes (edited, replaced or deleted since it was read); nothing was written.
    • REFUSED

      public static final OperatorFiles.WriteResult REFUSED
      Writing the keys would have changed something else in the file - a layout the renderer cannot keep byte for byte, YAML anchors, aliases or merge keys - or the file cannot be parsed; nothing was written, and one WARNING in the server log names the file, the keys and the reason.
  • Constructor Details

    • WriteResult

      private WriteResult()
  • Method Details

    • values

      public static OperatorFiles.WriteResult[] 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 OperatorFiles.WriteResult 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