Class Backend.RegistrationResult

java.lang.Object
org.polyfrost.oneconfig.api.config.v1.backend.Backend.RegistrationResult
Enclosing class:
Backend

public static final class Backend.RegistrationResult extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final byte
    This tree has been seen before by the backend, and so data has been loaded into it from the backend storage.
    static final byte
    This tree was already registered to the active system and has been merged with the input tree.
    static final byte
    This tree has never been registered before, or could not be found in the backend storage.
    final byte
     
    final Tree
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    RegistrationResult(Tree tree, byte state)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    get()
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • tree

      public final Tree tree
    • state

      public final byte state
    • NEW

      public static final byte NEW
      This tree has never been registered before, or could not be found in the backend storage.
      See Also:
    • LOADED

      public static final byte LOADED
      This tree has been seen before by the backend, and so data has been loaded into it from the backend storage.
      See Also:
    • MERGED

      public static final byte MERGED
      This tree was already registered to the active system and has been merged with the input tree.
      See Also:
  • Constructor Details

    • RegistrationResult

      public RegistrationResult(Tree tree, byte state)
  • Method Details

    • get

      public Tree get()