How to parse getDetailStorageFormat()

I am getting page properties from a given page using:

final List<PagePropertiesMacroInstance> allMacroInstances = pagePropertiesService.getReportFromContent(page).getAllMacroInstances()

From that, iterating over “allMacroInstances” getting the page property that I need through

getPagePropertyReportRow().get("PagePropertyName").getDetailStorageFormat()

however, how can I parse ( in Java ) the value from

getDetailStorageFormat()

when:

  • Status macro (CAC/doc/status-macro-223222355.html)
  • Mention (CAC/doc/mentions-251725350.html)
  • Link (CAC/doc/links-776656293.html)

CAC === https://confluence.atlassian.com