Enum Class SyncDirection

Object
Enum<SyncDirection>
SyncDirection
All Implemented Interfaces:
Serializable, Comparable<SyncDirection>, Constable

@PublicApi public enum SyncDirection extends Enum<SyncDirection>

Defines two possible directions for the full synchronization.

INBOUND direction means the data is taken from issues or external system and applied to structure.

OUTBOUND direction means the data is taken from structure and applied to issues or to external system.

Author:
Igor Sereda
  • Enum Constant Details

    • INBOUND

      public static final SyncDirection INBOUND

      INBOUND direction means the data is taken from issues or external system and applied to structure.

    • OUTBOUND

      public static final SyncDirection OUTBOUND

      OUTBOUND direction means the data is taken from structure and applied to issues or to external system.

  • Field Details

  • Method Details

    • values

      public static SyncDirection[] 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 SyncDirection 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
    • getCode

      public static String getCode(SyncDirection direction)
    • fromCode

      public static SyncDirection fromCode(String code)