Class Condition

  • All Implemented Interfaces:
    ErrorsHolder

    public abstract class Condition
    extends java.lang.Object
    implements ErrorsHolder
    • Constructor Detail

      • Condition

        public Condition()
    • Method Detail

      • id

        @Nullable
        public abstract java.lang.Long id()
      • scope

        @Nullable
        public abstract Scope scope()
      • sourceRefMatcher

        @Nullable
        public abstract Matcher sourceRefMatcher()
      • targetRefMatcher

        @Nullable
        public abstract Matcher targetRefMatcher()
      • reviewers

        @Nullable
        public abstract java.util.List<User> reviewers()
      • requiredApprovals

        @Nullable
        public abstract java.lang.Long requiredApprovals()
      • create

        public static Condition create​(java.lang.Long id,
                                       Scope scope,
                                       Matcher sourceRefMatcher,
                                       Matcher targetRefMatcher,
                                       java.util.List<User> reviewers,
                                       java.lang.Long requiredApprovals,
                                       @Nullable
                                       java.util.List<Error> errors)