Interface ModelCacheTag<T>

Type Parameters:
T - The type of data associated with the tag.

@Deprecated(since="4.0.0") interface ModelCacheTag<T>
Deprecated.
use ModelBuilder instead
Describes a tag used by the model builder to access a ModelCache. This interface basically aggregates a name and a class to provide some type safety when working with the otherwise untyped cache.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final ModelCacheTag<Model>
    Deprecated.
    The tag used for the file model without profile activation
    Deprecated.
    The tag used to denote an effective dependency management section from an imported model.
    static final ModelCacheTag<ModelData>
    Deprecated.
    The tag used for the raw model without profile activation
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    Gets the name of the tag.
    Deprecated.
    Gets the type of data associated with this tag.
  • Field Details

    • RAW

      static final ModelCacheTag<ModelData> RAW
      Deprecated.
      The tag used for the raw model without profile activation
    • IMPORT

      static final ModelCacheTag<DependencyManagement> IMPORT
      Deprecated.
      The tag used to denote an effective dependency management section from an imported model.
    • FILE

      static final ModelCacheTag<Model> FILE
      Deprecated.
      The tag used for the file model without profile activation
      Since:
      4.0.0
  • Method Details

    • getName

      String getName()
      Deprecated.
      Gets the name of the tag.
      Returns:
      The name of the tag, must not be null.
    • getType

      Class<T> getType()
      Deprecated.
      Gets the type of data associated with this tag.
      Returns:
      The type of data, must not be null.