Class SalLicenseBackdoor
java.lang.Object
com.atlassian.jira.dev.backdoor.sal.SalLicenseBackdoor
@Path("sal/license")
@Produces("application/json")
@Consumes("application/json")
public class SalLicenseBackdoor
extends Object
- Since:
- v7.0
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
-
Constructor Summary
ConstructorDescriptionSalLicenseBackdoor
(com.atlassian.sal.api.license.LicenseHandler licenseHandler) -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
decodeLicense
(SalLicenseBackdoor.ProductLicenseTO licenseResponse) javax.ws.rs.core.Response
deleteProductLicense
(String productKey) javax.ws.rs.core.Response
javax.ws.rs.core.Response
javax.ws.rs.core.Response
getProductLicense
(String productKey) javax.ws.rs.core.Response
getProductLicenseDetails
(String productKey) javax.ws.rs.core.Response
javax.ws.rs.core.Response
javax.ws.rs.core.Response
javax.ws.rs.core.Response
javax.ws.rs.core.Response
ping()
javax.ws.rs.core.Response
setProductLicense
(SalLicenseBackdoor.ProductLicenseTO productLicense) javax.ws.rs.core.Response
validateLicenseString
(SalLicenseBackdoor.ProductLicenseTO licenseResponse)
-
Constructor Details
-
SalLicenseBackdoor
@Inject public SalLicenseBackdoor(com.atlassian.sal.api.license.LicenseHandler licenseHandler)
-
-
Method Details
-
setProductLicense
@POST @Path("products") public javax.ws.rs.core.Response setProductLicense(SalLicenseBackdoor.ProductLicenseTO productLicense) -
deleteProductLicense
@DELETE @Path("products/{productKey}") public javax.ws.rs.core.Response deleteProductLicense(@PathParam("productKey") String productKey) -
getProductLicense
@GET @Path("products/{productKey}") public javax.ws.rs.core.Response getProductLicense(@PathParam("productKey") String productKey) -
getAllProductKeys
@GET @Path("products") public javax.ws.rs.core.Response getAllProductKeys() -
getProductLicenseDetails
@GET @Path("product/details/{productKey}") public javax.ws.rs.core.Response getProductLicenseDetails(@PathParam("productKey") String productKey) -
getAllProductLicenseDetails
@GET @Path("product/details") public javax.ws.rs.core.Response getAllProductLicenseDetails() -
validateLicenseString
@POST @Path("product/validate") public javax.ws.rs.core.Response validateLicenseString(SalLicenseBackdoor.ProductLicenseTO licenseResponse) -
decodeLicense
@POST @Path("product/details/decode") public javax.ws.rs.core.Response decodeLicense(SalLicenseBackdoor.ProductLicenseTO licenseResponse) -
getServerId
@GET @Path("serverid") public javax.ws.rs.core.Response getServerId() -
getSupportEntitlementNumber
@GET @Path("sen") public javax.ws.rs.core.Response getSupportEntitlementNumber() -
hostAllowsCustomProducts
@GET @Path("host/allowsCustomProducts") public javax.ws.rs.core.Response hostAllowsCustomProducts() -
hostAllowsMultipleLicenses
@GET @Path("host/allowsMultipleLicenses") public javax.ws.rs.core.Response hostAllowsMultipleLicenses() -
ping
@GET @Path("ping") public javax.ws.rs.core.Response ping()
-