Interface ComponentMetadataContext


public interface ComponentMetadataContext
Provides access to component metadata from a ComponentMetadataRule.
Since:
4.9
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> @Nullable T
    getDescriptor(Class<T> descriptorClass)
    Used to access a specific descriptor format.
    Returns the details.
  • Method Details

    • getDescriptor

      <T> @Nullable T getDescriptor(Class<T> descriptorClass)
      Used to access a specific descriptor format.
      Type Parameters:
      T - the descriptor type
      Parameters:
      descriptorClass - the descriptor class
      Returns:
      a descriptor, or null if there was none of the requested type.
      Since:
      4.9
      See Also:
    • getDetails

      @NonNull ComponentMetadataDetails getDetails()
      Returns the details.
      Since:
      4.9