Interface IFormExtensionContext


public interface IFormExtensionContext
The object containing the contextual information that the extension should use to render the content.
Since:
3.21.2
  • Method Summary

    Modifier and Type
    Method
    Description
    The attributes of the XML configuration tag from the form layout or Sidebar sections configuration, except the ID attribute.
    com.polarion.alm.shared.api.model.ModelObject
    The object in the context that object() is displayed for.
    com.polarion.alm.shared.api.model.ModelObject
    The main object that the extension should render the content for.
  • Method Details

    • object

      @NotNull com.polarion.alm.shared.api.model.ModelObject object()
      The main object that the extension should render the content for. It is never null.
    • attributes

      @NotNull Map<String,String> attributes()
      The attributes of the XML configuration tag from the form layout or Sidebar sections configuration, except the ID attribute. It is never null.
    • contextObject

      @Nullable com.polarion.alm.shared.api.model.ModelObject contextObject()
      The object in the context that object() is displayed for. For example when the object() is a Work Item, then this can be a Document where the Work Item is displayed in its Sidebar. It can be null.