public class DevelopmentConfiguration
Extends the extension with important file directories for the server.
@NotNull public static java.lang.String LICENSE_DIR_ENV
@NotNull public static java.lang.String CONFIG_DIR_ENV
@NotNull public static java.lang.String CONFIG_DIR_SEC_ENV
@NotNull public static java.lang.String LICENSE_DIR_SYS
@NotNull public static java.lang.String CONFIG_DIR_SYS
@NotNull public static java.lang.String CONFIG_DIR_SEC_SYS
@NotNull public static java.lang.String DEFAULT_LIC_PATH
@NotNull public static java.lang.String DEFAULT_CONFIG_PATH
@NotNull public static java.lang.String DEFAULT_CONFIGSEC_PATH
@NotNull public static java.lang.String LICENSE_FILE_NAME
@NotNull public static java.lang.String CONFIG_FILE_NAME
public static com.intershop.gradle.icm.extension.DevelopmentConfiguration.Companion Companion
@Inject
public DevelopmentConfiguration(@NotNull
org.gradle.api.model.ObjectFactory objectFactory,
@NotNull
org.gradle.api.provider.ProviderFactory providerFactory)
creates a configuration from environment variables.
@NotNull public java.lang.String getLicenseDirectory()
License directory path of the project.
@NotNull public java.lang.String getLicenseFilePath()
@NotNull public java.lang.String getConfigDirectory()
Local configuration path of the project.
@Nullable public java.lang.String getConfigDirectorySec()
Local configuration path of the project.
@NotNull public java.lang.String getConfigFilePath()
Get file path for configuration property.
@Nullable public java.lang.String getConfigFilePathSec()
Get file path for configuration property.
@NotNull
public java.lang.String getConfigProperty(@NotNull
java.lang.String property)
Get access to properties in configuration property file.
property - key of the properties file@NotNull
public java.lang.String getConfigPropertySec(@NotNull
java.lang.String property)
Get access to properties in second configuration property file.
property - key of the properties file@NotNull
public java.lang.String getConfigProperty(@NotNull
java.lang.String property,
@NotNull
java.lang.String defaultValue)
Get access to properties in configuration property file.
property - key of the properties filedefaultValue - if key not available the default value is used.@NotNull
public java.lang.String getConfigPropertySec(@NotNull
java.lang.String property,
@NotNull
java.lang.String defaultValue)
Get access to properties in second configuration property file.
property - key of the properties filedefaultValue - if key not available the default value is used.