get-trial-status.asciidoc 846 B

1234567891011121314151617181920212223
  1. [[java-rest-high-get-trial-status]]
  2. === Get Trial Status
  3. [[java-rest-high-get-trial-status-execution]]
  4. ==== Execution
  5. The trial status of the license can be retrieved as follows:
  6. ["source","java",subs="attributes,callouts,macros"]
  7. --------------------------------------------------
  8. include-tagged::{doc-tests}/LicensingDocumentationIT.java[get-trial-status-execute]
  9. --------------------------------------------------
  10. [[java-rest-high-get-trial-status-response]]
  11. ==== Response
  12. The returned `GetTrialStatusResponse` holds only a `boolean` flag:
  13. ["source","java",subs="attributes,callouts,macros"]
  14. --------------------------------------------------
  15. include-tagged::{doc-tests}/LicensingDocumentationIT.java[get-trial-status-response]
  16. --------------------------------------------------
  17. <1> Whether the license is eligible to start trial or not