Class ModelMapperCacheProperties.Generate
java.lang.Object
com.broadleafcommerce.data.tracking.core.mapping.cache.ModelMapperCacheProperties.Generate
- Enclosing class:
- ModelMapperCacheProperties
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
int
hashCode()
boolean
Whether or not the system will auto detect ifuseCacheInf
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 theCACHE-INF/modelmapper
classpath location to store modelmapper cache artifacts.void
setAutoDetectIngestionType
(boolean autoDetectIngestionType) Whether or not the system will auto detect ifuseCacheInf
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 theCACHE-INF/modelmapper
classpath 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/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 (unlessautoDetectIngestionType
is false). -
isAutoDetectIngestionType
public boolean isAutoDetectIngestionType()Whether or not the system will auto detect ifuseCacheInf
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
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/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 (unlessautoDetectIngestionType
is false). -
setAutoDetectIngestionType
public void setAutoDetectIngestionType(boolean autoDetectIngestionType) Whether or not the system will auto detect ifuseCacheInf
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
-
canEqual
-
hashCode
public int hashCode() -
toString
-