/** * Checks whether a group folder should be included. * * @param groupFolder the group folder * @return true if the group folder should be included */ private boolean managesGroupFolder(GroupFolderInfo groupFolder) throws GitLabApiException { GitLabGroupInfo group = groupFolder.getGroup(); return managesGroupPredicate == null || (group != null && managesGroupPredicate.shouldManageGroup(group)); }
/** * Checks whether a group folder should be included. * * @param group the group * @return true if the group should be included */ private boolean managesGroup(GitLabGroupInfo group) throws GitLabApiException { return managesGroupPredicate == null || managesGroupPredicate.shouldManageGroup(group); }