Enum SynodeMode

java.lang.Object
java.lang.Enum<SynodeMode>
io.odysz.semantic.syn.SynodeMode
All Implemented Interfaces:
Serializable, Comparable<SynodeMode>, java.lang.constant.Constable

public enum SynodeMode extends Enum<SynodeMode>
Synode working modes
  • Enum Constant Details

    • nonsyn

      public static final SynodeMode nonsyn
      device or transction builder, etc. are not for synodes
    • peer

      public static final SynodeMode peer
      Jserv node mode: cloud hub, accepting application from leaf
    • leaf

      public static final SynodeMode leaf
      Work as a tree branch mode, tree's middle and leaf node, via filing application to peer
  • Method Details

    • values

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