Class CaptureAgentsEndpoint
java.lang.Object
org.opencastproject.adminui.endpoint.CaptureAgentsEndpoint
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Responsejavax.ws.rs.core.Responsejavax.ws.rs.core.ResponseremoveAgent(String agentName) voidsetCaptureAgentService(org.opencastproject.capture.admin.api.CaptureAgentStateService service) Sets the capture agent servicevoidsetSecurityService(org.opencastproject.security.api.SecurityService securityService)
-
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
-
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.NotFoundExceptionorg.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
-