Enum Class Capability

java.lang.Object
java.lang.Enum<Capability>
io.github.jbastgen.stemma.git.api.Capability
All Implemented Interfaces:
Serializable, Comparable<Capability>, Constable

public enum Capability extends Enum<Capability>
Optional features a GitBackend may or may not support. The UI queries these flags instead of assuming a particular backend, so features can be enabled or hidden per backend (see docs/architecture.md).
  • Enum Constant Details

    • READ_HISTORY

      public static final Capability READ_HISTORY
    • READ_STATUS

      public static final Capability READ_STATUS
    • DIFF

      public static final Capability DIFF
    • BRANCHING

      public static final Capability BRANCHING
    • MERGE

      public static final Capability MERGE
    • TAGS

      public static final Capability TAGS
    • STASH

      public static final Capability STASH
    • STASH_OPTIONS

      public static final Capability STASH_OPTIONS
      Stashing only some files, and stashing with the staged changes kept (StashOptions).
    • CONFIG

      public static final Capability CONFIG
    • CLONE

      public static final Capability CLONE
    • STAGING

      public static final Capability STAGING
    • COMMIT

      public static final Capability COMMIT
    • REMOTE_OPERATIONS

      public static final Capability REMOTE_OPERATIONS
    • INTERACTIVE_REBASE

      public static final Capability INTERACTIVE_REBASE
    • WORKTREES

      public static final Capability WORKTREES
    • LFS

      public static final Capability LFS
    • SUBMODULES

      public static final Capability SUBMODULES
    • HOOKS

      public static final Capability HOOKS
    • GPG_SIGNING

      public static final Capability GPG_SIGNING
    • SSH_SIGNING

      public static final Capability SSH_SIGNING
  • Method Details

    • values

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