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 forModelType
-
-
Field Summary
Fields Modifier and Type Field Description static StringCOLLECTION_RESOURCE_RELstatic org.springframework.hateoas.LinkRelationcollectionResourceRelstatic StringITEM_RESOURCE_RELstatic org.springframework.hateoas.LinkRelationitemResourceRel
-
Constructor Summary
Constructors Constructor Description ModelTypeLinkRelationProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.hateoas.LinkRelationgetCollectionResourceRelFor(Class<?> type)org.springframework.hateoas.LinkRelationgetItemResourceRelFor(Class<?> type)booleansupports(org.springframework.hateoas.server.LinkRelationProvider.LookupContext delimiter)
-
-
-
Field Detail
-
COLLECTION_RESOURCE_REL
public static final String COLLECTION_RESOURCE_REL
- See Also:
- Constant Field Values
-
ITEM_RESOURCE_REL
public static final String ITEM_RESOURCE_REL
- See Also:
- Constant Field Values
-
collectionResourceRel
public static final org.springframework.hateoas.LinkRelation collectionResourceRel
-
itemResourceRel
public static final org.springframework.hateoas.LinkRelation itemResourceRel
-
-
Method Detail
-
getItemResourceRelFor
public org.springframework.hateoas.LinkRelation getItemResourceRelFor(Class<?> type)
- Specified by:
getItemResourceRelForin interfaceorg.springframework.hateoas.server.LinkRelationProvider
-
getCollectionResourceRelFor
public org.springframework.hateoas.LinkRelation getCollectionResourceRelFor(Class<?> type)
- Specified by:
getCollectionResourceRelForin interfaceorg.springframework.hateoas.server.LinkRelationProvider
-
supports
public boolean supports(org.springframework.hateoas.server.LinkRelationProvider.LookupContext delimiter)
- Specified by:
supportsin interfaceorg.springframework.hateoas.server.LinkRelationProvider- Specified by:
supportsin interfaceorg.springframework.plugin.core.Plugin<org.springframework.hateoas.server.LinkRelationProvider.LookupContext>
-
-