Class DelegatedUtil


  • public class DelegatedUtil
    extends java.lang.Object
    Utility class for delegated functions.
    Since:
    6.0
    • Constructor Summary

      Constructors 
      Constructor Description
      DelegatedUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.apereo.cas.mgmt.domain.BranchData createBranch​(org.apereo.cas.mgmt.GitUtil.BranchMap r)
      Method creates a branch object to be returned to the client.
      static boolean filterPulls​(org.apereo.cas.mgmt.GitUtil.BranchMap r, boolean[] options)
      Method will filter refs to only the statuses on Options.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DelegatedUtil

        public DelegatedUtil()
    • Method Detail

      • createBranch

        public static org.apereo.cas.mgmt.domain.BranchData createBranch​(org.apereo.cas.mgmt.GitUtil.BranchMap r)
        Method creates a branch object to be returned to the client.
        Parameters:
        r - - BranchMap
        Returns:
        - BranchData
      • filterPulls

        public static boolean filterPulls​(org.apereo.cas.mgmt.GitUtil.BranchMap r,
                                          boolean[] options)
        Method will filter refs to only the statuses on Options.
        Parameters:
        r - - BranchMap
        options - - 0:Submitted, 1:Accepted, 2:Rejected
        Returns:
        - true of the pull should be included