Class CaptureAgentsEndpoint

java.lang.Object
org.opencastproject.adminui.endpoint.CaptureAgentsEndpoint

@Path("/admin-ng/capture-agents") public class CaptureAgentsEndpoint extends Object
  • Constructor Details

    • CaptureAgentsEndpoint

      public CaptureAgentsEndpoint()
  • Method Details

    • setCaptureAgentService

      public void setCaptureAgentService(org.opencastproject.capture.admin.api.CaptureAgentStateService service)
      Sets the capture agent service
      Parameters:
      service - the capture agent service to set
    • setSecurityService

      public void setSecurityService(org.opencastproject.security.api.SecurityService securityService)
    • getAgents

      @GET @Produces("application/json") @Path("agents.json") public javax.ws.rs.core.Response getAgents(@QueryParam("limit") int limit, @QueryParam("offset") int offset, @QueryParam("inputs") boolean inputs, @QueryParam("filter") String filter, @QueryParam("sort") String sort)
    • removeAgent

      @DELETE @Path("{name}") @Produces("application/json") public javax.ws.rs.core.Response removeAgent(@PathParam("name") String agentName) throws org.opencastproject.util.NotFoundException, org.opencastproject.security.api.UnauthorizedException
      Throws:
      org.opencastproject.util.NotFoundException
      org.opencastproject.security.api.UnauthorizedException
    • getAgent

      @GET @Path("{name}") @Produces("application/json") public javax.ws.rs.core.Response getAgent(@PathParam("name") String agentName) throws org.opencastproject.util.NotFoundException
      Throws:
      org.opencastproject.util.NotFoundException