Class PatchServiceEndPoint


  • @Produces("application/json")
    @Consumes("application/json")
    @Path("/patches")
    public class PatchServiceEndPoint
    extends Object
    A JAX-RS endpoint to manage patches.
    • Constructor Detail

      • PatchServiceEndPoint

        public PatchServiceEndPoint()
    • Method Detail

      • setPatchService

        public void setPatchService​(PatchService patchService)
      • setPatch

        @POST
        @Path("/apply")
        public void setPatch​(Patch patch,
                             @QueryParam("force")
                             Boolean force)
        Apply a patch on an item
        Parameters:
        patch - the patch to apply
        force - a boolean to force (or not) the application of the patch even if it was previously applied.