Class InstallData3Resource
java.lang.Object
org.ctan.site.resources.catalogue.InstallData3Resource
The class
InstallData3Resource
contains the controller for the
install data resource.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class
The classInstallDataTo
contains the transport object for the install entry in the installations list. -
Constructor Summary
ConstructorsConstructorDescriptionInstallData3Resource
(@NonNull InstallDataStore store) This is the constructor for the classInstallData3Resource
. -
Method Summary
Modifier and TypeMethodDescriptiongetInstallDataByPkg
(@NonNull String key) The methodgetInstallDataByKey
contains the end-point for /installs/key.
-
Constructor Details
-
InstallData3Resource
This is the constructor for the classInstallData3Resource
.- Parameters:
store
- the underlying store
-
-
Method Details
-
getInstallDataByPkg
@GET @Path("/installs/{key}") @PermitAll @UnitOfWork("siteDb") public List<InstallData3Resource.InstallTo> getInstallDataByPkg(@NonNull @PathParam("key") @NonNull String key) The methodgetInstallDataByKey
contains the end-point for /installs/key. It returns the install entries.- Parameters:
key
- the key- Returns:
- the install entries
-