Package org.apache.unomi.rest.endpoints
Class PatchServiceEndPoint
java.lang.Object
org.apache.unomi.rest.endpoints.PatchServiceEndPoint
@Produces("application/json")
@Consumes("application/json")
@Path("/patches")
public class PatchServiceEndPoint
extends Object
A JAX-RS endpoint to manage patches.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Apply a patch on an itemvoid
setPatchService
(PatchService patchService)
-
Constructor Details
-
PatchServiceEndPoint
public PatchServiceEndPoint()
-
-
Method Details
-
setPatchService
-
setPatch
Apply a patch on an item- Parameters:
patch
- the patch to applyforce
- a boolean to force (or not) the application of the patch even if it was previously applied.
-