Class RestAgentServiceImpl

    • Method Detail

      • getAgents

        @NotNull
        public @NotNull RestPageModel<RestAgent> getAgents​(@NotNull
                                                           @NotNull javax.ws.rs.core.UriInfo uriInfo)
        Description copied from interface: RestAgentService
        Retrieve all agents on the bamboo server
        Specified by:
        getAgents in interface RestAgentService
        Parameters:
        uriInfo - Object that provides access to information of http request
        Returns:
        Collection of agents
      • getAgentById

        @NotNull
        public @NotNull RestAgent getAgentById​(@NotNull
                                               @NotNull javax.ws.rs.core.UriInfo uriInfo,
                                               long agentId)
                                        throws NotFoundException
        Description copied from interface: RestAgentService
        Retrieve an agent definition
        Specified by:
        getAgentById in interface RestAgentService
        Parameters:
        uriInfo - Object that provides access to information of http request
        agentId - Id of agent
        Returns:
        RestAgent object that contains the definition of the agent
        Throws:
        NotFoundException - if no agent exists with an id equal to agentId