Class PlatformTypeContextStrategy

  • All Implemented Interfaces:
    com.hybris.cockpitng.core.config.CockpitConfigurationContextStrategy

    public class PlatformTypeContextStrategy
    extends java.lang.Object
    implements com.hybris.cockpitng.core.config.CockpitConfigurationContextStrategy
    Implementation of CockpitConfigurationContextStrategy that deals with hybris platform type hierarchy for the type configuration context dimension.
    • Field Summary

      • Fields inherited from interface com.hybris.cockpitng.core.config.CockpitConfigurationContextStrategy

        EMPTY_PARENT_CONTEXT
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.String> getParentContexts​(java.lang.String context)  
      void setTypeService​(TypeService typeService)  
      boolean valueMatches​(java.lang.String contextValue, java.lang.String value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.hybris.cockpitng.core.config.CockpitConfigurationContextStrategy

        getConfigurationCacheKey, isResettable
    • Constructor Detail

      • PlatformTypeContextStrategy

        public PlatformTypeContextStrategy()
    • Method Detail

      • getParentContexts

        public java.util.List<java.lang.String> getParentContexts​(java.lang.String context)
        Specified by:
        getParentContexts in interface com.hybris.cockpitng.core.config.CockpitConfigurationContextStrategy
      • valueMatches

        public boolean valueMatches​(java.lang.String contextValue,
                                    java.lang.String value)
        Specified by:
        valueMatches in interface com.hybris.cockpitng.core.config.CockpitConfigurationContextStrategy
      • setTypeService

        public void setTypeService​(TypeService typeService)