Class FileTemplateConfig


  • public class FileTemplateConfig
    extends java.lang.Object
    Date: 25/09/2017
    Author:
    Yaron Yamin
    • Field Detail

      • DEFAULT_MAX_RECURSION_DEPTH

        public static final int DEFAULT_MAX_RECURSION_DEPTH
        See Also:
        Constant Field Values
    • Constructor Detail

      • FileTemplateConfig

        public FileTemplateConfig​(TestMeConfig testMeConfig)
    • Method Detail

      • isReformatCode

        public boolean isReformatCode()
      • isOptimizeImports

        public boolean isOptimizeImports()
      • getMaxRecursionDepth

        public int getMaxRecursionDepth()
      • isReplaceFqn

        public boolean isReplaceFqn()
      • isIgnoreUnusedProperties

        public boolean isIgnoreUnusedProperties()
      • isReplaceInterfaceParamsWithConcreteTypes

        public boolean isReplaceInterfaceParamsWithConcreteTypes()
      • getMinPercentOfExcessiveSettersToPreferMapCtor

        public int getMinPercentOfExcessiveSettersToPreferMapCtor()
      • setMaxRecursionDepth

        public void setMaxRecursionDepth​(int maxRecursionDepth)
      • setReplaceInterfaceParamsWithConcreteTypes

        public void setReplaceInterfaceParamsWithConcreteTypes​(boolean replaceInterfaceParamsWithConcreteTypes)
      • setMinPercentOfExcessiveSettersToPreferMapCtor

        public void setMinPercentOfExcessiveSettersToPreferMapCtor​(int minPercentOfExcessiveSettersToPreferMapCtor)
      • getMinPercentOfInteractionWithPropertiesToTriggerConstructorOptimization

        public int getMinPercentOfInteractionWithPropertiesToTriggerConstructorOptimization()
      • setMinPercentOfInteractionWithPropertiesToTriggerConstructorOptimization

        public void setMinPercentOfInteractionWithPropertiesToTriggerConstructorOptimization​(int minPercentOfInteractionWithPropertiesToTriggerConstructorOptimization)
      • isStubMockMethodCallsReturnValues

        public boolean isStubMockMethodCallsReturnValues()
      • getMaxNumOfConcreteCandidatesToReplaceInterfaceParam

        public int getMaxNumOfConcreteCandidatesToReplaceInterfaceParam()
      • setStubMockMethodCallsReturnValues

        public void setStubMockMethodCallsReturnValues​(boolean stubMockMethodCallsReturnValues)
      • setIgnoreUnusedProperties

        public void setIgnoreUnusedProperties​(boolean ignoreUnusedProperties)
      • setMaxNumOfConcreteCandidatesToReplaceInterfaceParam

        public void setMaxNumOfConcreteCandidatesToReplaceInterfaceParam​(int maxNumOfConcreteCandidatesToReplaceInterfaceParam)
      • isGenerateTestsForInheritedMethods

        public boolean isGenerateTestsForInheritedMethods()