Class DefaultDestinationRestTemplateCacheKey
- java.lang.Object
-
- de.hybris.platform.outboundservices.cache.impl.DefaultDestinationRestTemplateCacheKey
-
- All Implemented Interfaces:
IntegrationCacheKey<DestinationRestTemplateId>,DestinationRestTemplateCacheKey
public class DefaultDestinationRestTemplateCacheKey extends java.lang.Object implements DestinationRestTemplateCacheKey
A cache key that uses the destination and rest template as the unique identifier
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDefaultDestinationRestTemplateCacheKey(DestinationRestTemplateId id)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)static DefaultDestinationRestTemplateCacheKeyfrom(DestinationRestTemplateId id)java.lang.StringgetDestinationId()Gets the destination idDestinationRestTemplateIdgetId()Returns the unique identifier for that represents the keyjava.lang.StringgetRestTemplateTypeName()Gets theRestTemplatetype nameinthashCode()java.lang.StringtoString()
-
-
-
Constructor Detail
-
DefaultDestinationRestTemplateCacheKey
protected DefaultDestinationRestTemplateCacheKey(DestinationRestTemplateId id)
-
-
Method Detail
-
from
public static DefaultDestinationRestTemplateCacheKey from(DestinationRestTemplateId id)
-
getId
public DestinationRestTemplateId getId()
Description copied from interface:IntegrationCacheKeyReturns the unique identifier for that represents the key- Specified by:
getIdin interfaceIntegrationCacheKey<DestinationRestTemplateId>- Returns:
- Id
-
getDestinationId
public java.lang.String getDestinationId()
Description copied from interface:DestinationRestTemplateCacheKeyGets the destination id- Specified by:
getDestinationIdin interfaceDestinationRestTemplateCacheKey- Returns:
- id
-
getRestTemplateTypeName
public java.lang.String getRestTemplateTypeName()
Description copied from interface:DestinationRestTemplateCacheKeyGets theRestTemplatetype name- Specified by:
getRestTemplateTypeNamein interfaceDestinationRestTemplateCacheKey- Returns:
- type name
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-