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 Generate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getByteBuddyDumpDir()
The directory where ModelMapper (et.al.) will dump dynamically generated classes (made by ByteBuddy) during ModelMapper creation.int
hashCode()
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.boolean
isUseCacheInf()
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.String
toString()
boolean
useCacheInfIngestion()
-
-
-
Method Detail
-
useCacheInfIngestion
public boolean useCacheInfIngestion()
-
getByteBuddyDumpDir
public String getByteBuddyDumpDir()
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.
-
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
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 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.
-
canEqual
protected boolean canEqual(Object other)
-
-