Class ModelMapperCacheProperties.Generate
java.lang.Object
com.broadleafcommerce.data.tracking.core.mapping.cache.ModelMapperCacheProperties.Generate
- Enclosing class:
- ModelMapperCacheProperties
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleaninthashCode()booleanWhether or not the system will auto detect ifuseCacheInfis true or false for ingestion of cache based on the types of resources and their location on the classpath.booleanWhether or not the system should use theCACHE-INF/modelmapperclasspath location to store modelmapper cache artifacts.voidsetAutoDetectIngestionType(boolean autoDetectIngestionType) Whether or not the system will auto detect ifuseCacheInfis true or false for ingestion of cache based on the types of resources and their location on the classpath.voidsetByteBuddyDumpDir(String byteBuddyDumpDir) The directory where ModelMapper (et.al.) will dump dynamically generated classes (made by ByteBuddy) during ModelMapper creation.voidsetUseCacheInf(boolean useCacheInf) Whether or not the system should use theCACHE-INF/modelmapperclasspath location to store modelmapper cache artifacts.toString()boolean
-
Constructor Details
-
Generate
public Generate()
-
-
Method Details
-
useCacheInfIngestion
public boolean useCacheInfIngestion() -
getByteBuddyDumpDir
-
isUseCacheInf
public boolean isUseCacheInf()Whether or not the system should use theCACHE-INF/modelmapperclasspath 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 (unlessautoDetectIngestionTypeis false). -
isAutoDetectIngestionType
public boolean isAutoDetectIngestionType()Whether or not the system will auto detect ifuseCacheInfis true or false for ingestion of cache based on the types of resources and their location on the classpath. The default is true. -
setByteBuddyDumpDir
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 theCACHE-INF/modelmapperclasspath 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 (unlessautoDetectIngestionTypeis false). -
setAutoDetectIngestionType
public void setAutoDetectIngestionType(boolean autoDetectIngestionType) Whether or not the system will auto detect ifuseCacheInfis true or false for ingestion of cache based on the types of resources and their location on the classpath. The default is true. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-