Class TerminationStateRestServiceImpl
java.lang.Object
org.opencastproject.terminationstate.endpoint.impl.TerminationStateRestServiceImpl
- All Implemented Interfaces:
org.opencastproject.terminationstate.endpoint.api.TerminationStateRestService
@Path("/termination")
public class TerminationStateRestServiceImpl
extends Object
implements org.opencastproject.terminationstate.endpoint.api.TerminationStateRestService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.ResponsegetState()voidsetService(org.opencastproject.terminationstate.api.TerminationStateService service) OSGI injection callbackjavax.ws.rs.core.Response
-
Constructor Details
-
TerminationStateRestServiceImpl
public TerminationStateRestServiceImpl()
-
-
Method Details
-
getState
@GET @Path("/state") @Produces("application/json") public javax.ws.rs.core.Response getState()- Specified by:
getStatein interfaceorg.opencastproject.terminationstate.endpoint.api.TerminationStateRestService
-
setState
- Specified by:
setStatein interfaceorg.opencastproject.terminationstate.endpoint.api.TerminationStateRestService
-
setService
public void setService(org.opencastproject.terminationstate.api.TerminationStateService service) OSGI injection callback- Parameters:
service- termination state service instance
-