Class ModelTypeLinkRelationProvider

java.lang.Object
org.activiti.cloud.services.modeling.rest.assembler.ModelTypeLinkRelationProvider
All Implemented Interfaces:
org.springframework.hateoas.server.LinkRelationProvider, org.springframework.plugin.core.Plugin<org.springframework.hateoas.server.LinkRelationProvider.LookupContext>

public class ModelTypeLinkRelationProvider extends Object implements org.springframework.hateoas.server.LinkRelationProvider
Rel provider for ModelType
  • Field Details

    • COLLECTION_RESOURCE_REL

      public static final String COLLECTION_RESOURCE_REL
      See Also:
    • ITEM_RESOURCE_REL

      public static final String ITEM_RESOURCE_REL
      See Also:
    • collectionResourceRel

      public static final org.springframework.hateoas.LinkRelation collectionResourceRel
    • itemResourceRel

      public static final org.springframework.hateoas.LinkRelation itemResourceRel
  • Constructor Details

    • ModelTypeLinkRelationProvider

      public ModelTypeLinkRelationProvider()
  • Method Details

    • getItemResourceRelFor

      public org.springframework.hateoas.LinkRelation getItemResourceRelFor(Class<?> type)
      Specified by:
      getItemResourceRelFor in interface org.springframework.hateoas.server.LinkRelationProvider
    • getCollectionResourceRelFor

      public org.springframework.hateoas.LinkRelation getCollectionResourceRelFor(Class<?> type)
      Specified by:
      getCollectionResourceRelFor in interface org.springframework.hateoas.server.LinkRelationProvider
    • supports

      public boolean supports(org.springframework.hateoas.server.LinkRelationProvider.LookupContext delimiter)
      Specified by:
      supports in interface org.springframework.hateoas.server.LinkRelationProvider
      Specified by:
      supports in interface org.springframework.plugin.core.Plugin<org.springframework.hateoas.server.LinkRelationProvider.LookupContext>