All Downloads are FREE. Search and download functionalities are using the official Maven repository.

functions.SystemProperties.ext Maven / Gradle / Ivy

There is a newer version: 1.24.1
Show newest version


cached String getSystemProperty(String propertyName):
   JAVA java.lang.System.getProperty(java.lang.String);


cached String getSystemProperty(String propertyName, String defaultValue):
   JAVA java.lang.System.getProperty(java.lang.String, java.lang.String);


cached boolean getBooleanSystemProperty(String propertyName, boolean defaultValue):
    if getSystemProperty(propertyName, defaultValue.toString()) == "true"
    then true
    else false;
    
cached boolean generateJSONAutoDetectAnnotationOnClass():
   getBooleanSystemProperty("switch.gen.jackson.jsonautodetect.on.class", false);

cached boolean groupBreakingChangesReportByPackage():
    getBooleanSystemProperty("switch.gen.breaking.changes.report.groupByPackage", true);
    
cached boolean listUnsecuredRESTEndpoints():
    getBooleanSystemProperty("switch.gen.security.roles.report.list.unsecured.endpoints", true);
    
cached String getDefaultSecurityRoleName():
	getSystemProperty("switch.gen.security.default.security.role", "");
	
// NotNull / NotEmpty annotation settings for properties
cached boolean generateNotNullAnnotationForSingleValuedProperties():
    getBooleanSystemProperty("jeaf.generator.generateNotNullAnnotationForSingleValuedProperties", false);

cached String notNullAnnotationNameForSingleValuedProperties():
    getSystemProperty("jeaf.generator.notNullAnnotationNameForSingleValuedProperties");

cached boolean generateNotEmptyAnnotationForMultiValuedProperties():
    getBooleanSystemProperty("jeaf.generator.generateNotEmptyAnnotationForMultiValuedProperties", false);

cached String notEmptyAnnotationNameForMultiValuedProperties():
    getSystemProperty("jeaf.generator.notEmptyAnnotationNameForMultiValuedProperties");
    
// NotNull / NotEmpty annotation settings for services
cached boolean generateNotNullAnnotationForSingleValuedServiceParameters():
    getBooleanSystemProperty("jeaf.generator.generateNotNullAnnotationForSingleValuedServiceParameters", false);

cached String notNullAnnotationNameForSingleValuedServiceParameters():
    getSystemProperty("jeaf.generator.notNullAnnotationNameForSingleValuedServiceParameters");

cached boolean generateNotEmptyAnnotationForMultiValuedServiceParameters():
    getBooleanSystemProperty("jeaf.generator.generateNotEmptyAnnotationForMultiValuedServiceParameters", false);

cached String notEmptyAnnotationNameForMultiValuedServiceParameters():
    getSystemProperty("jeaf.generator.notEmptyAnnotationNameForMultiValuedServiceParameters");


// NotNull / NotEmpty annotation settings for REST controllers
cached boolean generateNotNullAnnotationForSingleValuedRESTParameters():
    getBooleanSystemProperty("jeaf.generator.generateNotNullAnnotationForSingleValuedRESTParameters", false);

cached String notNullAnnotationNameForSingleValuedRESTParameters():
    getSystemProperty("jeaf.generator.notNullAnnotationNameForSingleValuedRESTParameters");

cached boolean generateNotEmptyAnnotationForMultiValuedRESTParameters():
    getBooleanSystemProperty("jeaf.generator.generateNotEmptyAnnotationForMultiValuedRESTParameters", false);

cached String notEmptyAnnotationNameForMultiValuedRESTParameters():
    getSystemProperty("jeaf.generator.notEmptyAnnotationNameForMultiValuedRESTParameters");
    
cached boolean generateServiceInterfaces():
    getBooleanSystemProperty("switch.gen.services", false);

cached boolean generateReactiveServiceInterfaces():
    getBooleanSystemProperty("jeaf.generator.generateReactiveServiceInterfaces", false);

cached boolean generateReactiveRESTResources():
    getBooleanSystemProperty("jeaf.generator.generateReactiveRESTResources", false);
    
cached boolean generateReactiveRESTServiceProxies():
    getBooleanSystemProperty("jeaf.generator.generateReactiveRESTServiceProxies", false); 
    
cached boolean generateModelReport():
    getBooleanSystemProperty("jeaf.generator.generateModelReport", false); 
   




© 2015 - 2024 Weber Informatics LLC | Privacy Policy