Interface IFramework

    • Method Detail

      • getFrameworkProjectMgr

        ProjectManager getFrameworkProjectMgr()
        Gets DepotMgr for this framework instance
        Returns:
        returns instance of IFrameworkProjectMgr
      • getPropertyLookup

        IPropertyLookup getPropertyLookup()
        Returns:
        property lookup
      • getPropertyRetriever

        default PropertyRetriever getPropertyRetriever()
        Returns:
        safe property retriever
      • getFrameworkNodeHostname

        java.lang.String getFrameworkNodeHostname()
        Gets the value of "framework.server.hostname" property
        Specified by:
        getFrameworkNodeHostname in interface IFrameworkNodes
        Returns:
        Returns value of framework.server.hostname property
      • getFrameworkNodeName

        java.lang.String getFrameworkNodeName()
        Gets the value of "framework.server.name" property
        Specified by:
        getFrameworkNodeName in interface IFrameworkNodes
        Returns:
        Returns value of framework.server.name property
      • filterAuthorizedNodes

        INodeSet filterAuthorizedNodes​(java.lang.String project,
                                       java.util.Set<java.lang.String> actions,
                                       INodeSet unfiltered,
                                       com.dtolabs.rundeck.core.authorization.AuthContext authContext)
        Specified by:
        filterAuthorizedNodes in interface IFrameworkNodes
        Parameters:
        project - project name
        actions - action set
        unfiltered - nodes
        authContext - authoriziation
        Returns:
        the nodeset consisting only of the input nodes where the specified actions are all authorized
      • isLocalNode

        boolean isLocalNode​(INodeDesc node)
        Return true if the node is the local framework node. Compares the (logical) node names of the nodes after eliding any embedded 'user@' parts.
        Specified by:
        isLocalNode in interface IFrameworkNodes
        Parameters:
        node - the node
        Returns:
        true if the node's name is the same as the framework's node name