Class InstallHandler

All Implemented Interfaces:
Resource, Adaptable

public class InstallHandler extends DefaultObject
Provides REST bindings for Package install management.
Author:
Thierry Delprat
  • Field Details

  • Constructor Details

    • InstallHandler

      public InstallHandler()
  • Method Details

    • getStorageKey

      protected String getStorageKey(String pkgId)
    • getInstallParameters

      protected Map<String,String> getInstallParameters(String pkgId)
    • storeInstallParameters

      protected void storeInstallParameters(String pkgId, Map<String,String> params)
    • clearInstallParameters

      protected void clearInstallParameters(String pkgId)
    • showTermsAndConditions

      @GET @Produces("text/html") @Path("showTermsAndConditions/{pkgId}") public Template showTermsAndConditions(@PathParam("pkgId") String pkgId, @QueryParam("source") String source, @QueryParam("depCheck") Boolean depCheck)
    • startInstall

      @GET @Produces("text/html") @Path("start/{pkgId}") public Template startInstall(@PathParam("pkgId") String pkgId, @QueryParam("source") String source, @QueryParam("tacAccepted") Boolean acceptedTAC, @QueryParam("depCheck") Boolean depCheck, @QueryParam("autoMode") Boolean autoMode)
    • showInstallForm

      @GET @Produces("text/html") @Path("form/{pkgId}/{formId}") public Template showInstallForm(@PathParam("pkgId") String pkgId, @PathParam("formId") int formId, @QueryParam("source") String source)
    • processInstallForm

      @POST @Produces("text/html") @Path("form/{pkgId}/{formId}") public Template processInstallForm(@PathParam("pkgId") String pkgId, @PathParam("formId") int formId, @QueryParam("source") String source, jakarta.ws.rs.core.MultivaluedMap<String,String> formParams)
    • doBulkInstall

      @GET @Produces("text/html") @Path("bulkRun/{pkgId}") public Template doBulkInstall(@PathParam("pkgId") String pkgId, @QueryParam("source") String source, @QueryParam("confirm") Boolean confirm)
    • doInstall

      @GET @Produces("text/html") @Path("run/{pkgId}") public Template doInstall(@PathParam("pkgId") String pkgId, @QueryParam("source") String source)