Class ModelMapperCacheProperties.Generate

java.lang.Object
com.broadleafcommerce.data.tracking.core.mapping.cache.ModelMapperCacheProperties.Generate
Enclosing class:
ModelMapperCacheProperties

public static class ModelMapperCacheProperties.Generate extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
     
    boolean
     
     
    int
     
    boolean
    Whether or not the system will auto detect if useCacheInf is true or false for ingestion of cache based on the types of resources and their location on the classpath.
    boolean
    Whether or not the system should use the CACHE-INF/modelmapper classpath location to store modelmapper cache artifacts.
    void
    setAutoDetectIngestionType(boolean autoDetectIngestionType)
    Whether or not the system will auto detect if useCacheInf is true or false for ingestion of cache based on the types of resources and their location on the classpath.
    void
    setByteBuddyDumpDir(String byteBuddyDumpDir)
    The directory where ModelMapper (et.al.) will dump dynamically generated classes (made by ByteBuddy) during ModelMapper creation.
    void
    setUseCacheInf(boolean useCacheInf)
    Whether or not the system should use the CACHE-INF/modelmapper classpath location to store modelmapper cache artifacts.
     
    boolean
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Generate

      public Generate()
  • Method Details

    • useCacheInfIngestion

      public boolean useCacheInfIngestion()
    • getByteBuddyDumpDir

      public String getByteBuddyDumpDir()
    • isUseCacheInf

      public boolean isUseCacheInf()
      Whether or not the system should use the CACHE-INF/modelmapper classpath location to store modelmapper cache artifacts. This is the newest location used by recent build-time generators. The default is false for backwards compatible usage of modelmapper cache generation. This setting primarily applies during cache generation, as opposed to ingestion, in which the system will generally infer how to proceed (unless autoDetectIngestionType is false).
    • isAutoDetectIngestionType

      public boolean isAutoDetectIngestionType()
      Whether or not the system will auto detect if useCacheInf is true or false for ingestion of cache based on the types of resources and their location on the classpath. The default is true.
    • setByteBuddyDumpDir

      public void setByteBuddyDumpDir(String byteBuddyDumpDir)
      The directory where ModelMapper (et.al.) will dump dynamically generated classes (made by ByteBuddy) during ModelMapper creation. These classes are used during serialization. The default location is a directory entitled "bytebuddy" in the current java temp directory.
    • setUseCacheInf

      public void setUseCacheInf(boolean useCacheInf)
      Whether or not the system should use the CACHE-INF/modelmapper classpath location to store modelmapper cache artifacts. This is the newest location used by recent build-time generators. The default is false for backwards compatible usage of modelmapper cache generation. This setting primarily applies during cache generation, as opposed to ingestion, in which the system will generally infer how to proceed (unless autoDetectIngestionType is false).
    • setAutoDetectIngestionType

      public void setAutoDetectIngestionType(boolean autoDetectIngestionType)
      Whether or not the system will auto detect if useCacheInf is true or false for ingestion of cache based on the types of resources and their location on the classpath. The default is true.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object