Codota Logo
org.eclipse.jgit.revwalk.filter
Code IndexAdd Codota to your IDE (free)

How to use org.eclipse.jgit.revwalk.filter

Best Java code snippets using org.eclipse.jgit.revwalk.filter (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ScheduledThreadPoolExecutor s =
  • Codota Iconnew ScheduledThreadPoolExecutor(corePoolSize)
  • Codota IconThreadFactory threadFactory;new ScheduledThreadPoolExecutor(corePoolSize, threadFactory)
  • Codota IconString str;new ScheduledThreadPoolExecutor(1, new ThreadFactoryBuilder().setNameFormat(str).build())
  • Smart code suggestions by Codota
}
origin: org.eclipse.jgit/org.eclipse.jgit

@Override
public RevFilter clone() {
  final RevFilter[] s = new RevFilter[subfilters.length];
  for (int i = 0; i < s.length; i++)
    s[i] = subfilters[i].clone();
  return new List(s);
}
origin: org.eclipse.jgit/org.eclipse.jgit

/** {@inheritDoc} */
@Override
public RevFilter clone() {
  return new NotRevFilter(a.clone());
}
origin: org.eclipse.jgit/org.eclipse.jgit

@Override
public RevFilter clone() {
  final RevFilter[] s = new RevFilter[subfilters.length];
  for (int i = 0; i < s.length; i++)
    s[i] = subfilters[i].clone();
  return new List(s);
}
origin: org.eclipse.jgit/org.eclipse.jgit

@Override
public RevFilter clone() {
  return new Binary(a.clone(), b.clone());
}
origin: org.eclipse.jgit/org.eclipse.jgit

@Override
public RevFilter clone() {
  return new Binary(a.clone(), b.clone());
}
origin: org.eclipse.jgit/org.eclipse.jgit

  @Override
  public RevFilter clone() {
    return new PatternSearch(pattern());
  }
}
origin: org.eclipse.jgit/org.eclipse.jgit

  @Override
  public RevFilter clone() {
    return new PatternSearch(pattern());
  }
}
origin: org.eclipse.jgit/org.eclipse.jgit

@Override
public boolean include(RevWalk walker, RevCommit c)
    throws MissingObjectException, IncorrectObjectTypeException,
    IOException {
  for (RevFilter f : subfilters) {
    if (f.include(walker, c))
      return true;
  }
  return false;
}
origin: org.eclipse.jgit/org.eclipse.jgit

  /** {@inheritDoc} */
  @SuppressWarnings("nls")
  @Override
  public String toString() {
    return super.toString() + "(\"" + patternText + "\")";
  }
}
origin: org.eclipse.jgit/org.eclipse.jgit

  @Override
  protected RawCharSequence text(RevCommit cmit) {
    return textFor(cmit);
  }
}
origin: org.eclipse.jgit/org.eclipse.jgit

  /** {@inheritDoc} */
  @Override
  public RevFilter clone() {
    return new MaxCountRevFilter(maxCount);
  }
}
origin: org.eclipse.jgit/org.eclipse.jgit

/**
 * Create a filter that negates the result of another filter.
 *
 * @param a
 *            filter to negate.
 * @return a filter that does the reverse of <code>a</code>.
 */
public static RevFilter create(RevFilter a) {
  return new NotRevFilter(a);
}
origin: org.eclipse.jgit/org.eclipse.jgit

/** {@inheritDoc} */
@Override
public boolean requiresCommitBody() {
  return a.requiresCommitBody();
}
origin: org.eclipse.jgit/org.eclipse.jgit

  @Override
  protected RawCharSequence text(RevCommit cmit) {
    return textFor(cmit);
  }
}
origin: org.eclipse.jgit/org.eclipse.jgit

/**
 * Create a new filter that does the opposite of this filter.
 *
 * @return a new filter that includes commits this filter rejects.
 */
public RevFilter negate() {
  return NotRevFilter.create(this);
}
origin: org.eclipse.jgit/org.eclipse.jgit

/**
 * Create a new filter to select commits after a given date/time.
 *
 * @param ts
 *            the point in time to cut on, in milliseconds.
 * @return a new filter to select commits on or after <code>ts</code>.
 */
public static final RevFilter after(long ts) {
  return new After(ts);
}
origin: org.eclipse.jgit/org.eclipse.jgit

@Override
public boolean include(RevWalk walker, RevCommit c)
    throws MissingObjectException, IncorrectObjectTypeException,
    IOException {
  for (RevFilter f : subfilters) {
    if (!f.include(walker, c))
      return false;
  }
  return true;
}
origin: org.eclipse.jgit/org.eclipse.jgit

  @SuppressWarnings("nls")
  @Override
  public String toString() {
    return "(" + a.toString() + " AND " + b.toString() + ")"; //$NON-NLS-1$
  }
}
origin: org.eclipse.jgit/org.eclipse.jgit

/** {@inheritDoc} */
@Override
public boolean include(RevWalk walker, RevCommit c)
    throws MissingObjectException, IncorrectObjectTypeException,
    IOException {
  return !a.include(walker, c);
}
origin: org.eclipse.jgit/org.eclipse.jgit

  /** {@inheritDoc} */
  @Override
  public String toString() {
    return "NOT " + a.toString(); //$NON-NLS-1$
  }
}
org.eclipse.jgit.revwalk.filter

Most used classes

  • MaxCountRevFilter
    Limits the number of commits output.
  • AndRevFilter
    Includes a commit only if all subfilters include the same commit. Classic shortcut behavior is used,
  • CommitTimeRevFilter
    Selects commits based upon the commit time field.
  • AuthorRevFilter
    Matches only commits whose author name matches the pattern.
  • CommitterRevFilter
    Matches only commits whose committer name matches the pattern.
  • RevFilter,
  • AndRevFilter$Binary,
  • AndRevFilter$List,
  • AuthorRevFilter$PatternSearch,
  • AuthorRevFilter$SubStringSearch,
  • CommitTimeRevFilter$After,
  • CommitTimeRevFilter$Before,
  • CommitTimeRevFilter$Between,
  • CommitterRevFilter$PatternSearch,
  • CommitterRevFilter$SubStringSearch,
  • MessageRevFilter$PatternSearch,
  • MessageRevFilter$SubStringSearch,
  • NotRevFilter,
  • ObjectFilter
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now