Class HiddenBranchRefFilter
- java.lang.Object
-
- org.uberfire.java.nio.fs.jgit.daemon.filters.HiddenBranchRefFilter
-
-
Constructor Summary
Constructors Constructor Description HiddenBranchRefFilter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,org.eclipse.jgit.lib.Ref>filter(Map<String,org.eclipse.jgit.lib.Ref> refs)static booleanisHidden(String branch)Checks if a branch name matches the hidden branch regexp
-
-
-
Method Detail
-
filter
public Map<String,org.eclipse.jgit.lib.Ref> filter(Map<String,org.eclipse.jgit.lib.Ref> refs)
- Specified by:
filterin interfaceorg.eclipse.jgit.transport.RefFilter
-
isHidden
public static boolean isHidden(String branch)
Checks if a branch name matches the hidden branch regexp- Parameters:
branch- the branch you want to check.- Returns:
- return if the branch is hidden or not
-
-