Class ModelMapperCacheProperties.Generate

    • Constructor Detail

      • Generate

        public Generate()
    • 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 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.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object