Package de.xima.fc.e2e.environment.api
Interface IFormcycleEnvironmentConfigBuilder
- 
- All Known Implementing Classes:
 FormcycleEnvironmentConfigBuilder
public interface IFormcycleEnvironmentConfigBuilderSimple builder for creating an environment configuration for FORMCYCLE.- Author:
 - XIMA MEDIA GmbH
 
 
- 
- 
Method Summary
 
 - 
 
- 
- 
Method Detail
- 
build
IFormcycleEnvironmentConfig build()
- Returns:
 - A new configuration with the current settings.
 
 
- 
withApplicationProperties
IFormcycleEnvironmentConfigBuilder withApplicationProperties(Properties applicationProperties)
- Parameters:
 applicationProperties- The contents of theapplication.propertiesfile to use when starting the FORMCYCLE app.- Returns:
 - This builder instance for chaining method calls.
 
 
- 
withApplicationProperties
IFormcycleEnvironmentConfigBuilder withApplicationProperties(URI applicationProperties) throws IOException
- Parameters:
 applicationProperties- The contents of theapplication.propertiesfile to use when starting the FORMCYCLE app.- Returns:
 - This builder instance for chaining method calls.
 - Throws:
 IOException- When the given URI could not be read.
 
- 
withDatabaseProperties
IFormcycleEnvironmentConfigBuilder withDatabaseProperties(Properties databaseProperties)
- Parameters:
 databaseProperties- The contents of thedatabase.propertiesfile to use when starting the FORMCYCLE app.- Returns:
 - This builder instance for chaining method calls.
 
 
- 
withDatabaseProperties
IFormcycleEnvironmentConfigBuilder withDatabaseProperties(URI databaseProperties) throws IOException
- Parameters:
 databaseProperties- The contents of thedatabase.propertiesfile to use when starting the FORMCYCLE app.- Returns:
 - This builder instance for chaining method calls.
 - Throws:
 IOException- When the given URI could not be read.
 
- 
withFcmLicense
IFormcycleEnvironmentConfigBuilder withFcmLicense(String key, byte[] data)
- Parameters:
 key- Key of the license file.data- Contents of the license file.- Returns:
 - This builder instance for chaining method calls.
 
 
- 
withFcmLicense
IFormcycleEnvironmentConfigBuilder withFcmLicense(String key, URI data) throws IOException
- Parameters:
 key- Key of the license file.data- Contents of the license file.- Returns:
 - This builder instance for chaining method calls.
 - Throws:
 IOException- When the license data could not be read from the given URI.
 
- 
withFcmLicenseData
IFormcycleEnvironmentConfigBuilder withFcmLicenseData(byte[] fcmLicenseData)
- Parameters:
 fcmLicenseData- Contents of the license file.- Returns:
 - This builder instance for chaining method calls.
 
 
- 
withFcmLicenseData
IFormcycleEnvironmentConfigBuilder withFcmLicenseData(URI fcmLicenseData) throws IOException
- Parameters:
 fcmLicenseData- Contents of the license file.- Returns:
 - This builder instance for chaining method calls.
 - Throws:
 IOException- When the license data could not be read from the given URI.
 
- 
withFcmLicenseKey
IFormcycleEnvironmentConfigBuilder withFcmLicenseKey(String fcmLicenseKey)
- Parameters:
 fcmLicenseKey- Key of the license file.- Returns:
 - This builder instance for chaining method calls.
 
 
- 
withFormcycleWar
IFormcycleEnvironmentConfigBuilder withFormcycleWar(URI formcycleWar)
- Parameters:
 formcycleWar- Path to the WAR with the FORMCYCLE app.- Returns:
 - This builder instance for chaining method calls.
 
 
- 
withLoggingProperties
IFormcycleEnvironmentConfigBuilder withLoggingProperties(Properties loggingProperties)
- Parameters:
 loggingProperties- The contents of thelogging.propertiesfile to use when starting the FORMCYCLE app.- Returns:
 - This builder instance for chaining method calls.
 
 
- 
withLoggingProperties
IFormcycleEnvironmentConfigBuilder withLoggingProperties(URI loggingProperties) throws IOException
- Parameters:
 loggingProperties- The contents of thelogging.propertiesfile to use when starting the FORMCYCLE app.- Returns:
 - This builder instance for chaining method calls.
 - Throws:
 IOException- When the given URI could not be read.
 
- 
withParentClassLoader
IFormcycleEnvironmentConfigBuilder withParentClassLoader(ClassLoader parentClassLoader)
- Parameters:
 parentClassLoader- Parent class loader for the servlet container web app class loader.- Returns:
 - This builder instance for chaining method calls.
 
 
- 
withSystemMailProperties
IFormcycleEnvironmentConfigBuilder withSystemMailProperties(Properties systemMailProperties)
- Parameters:
 systemMailProperties- The contents of thesystem-mail.propertiesfile to use when starting the FORMCYCLE app.- Returns:
 - This builder instance for chaining method calls.
 
 
- 
withSystemMailProperties
IFormcycleEnvironmentConfigBuilder withSystemMailProperties(URI systemMailProperties) throws IOException
- Parameters:
 systemMailProperties- The contents of thesystem-mail.propertiesfile to use when starting the FORMCYCLE app.- Returns:
 - This builder instance for chaining method calls.
 - Throws:
 IOException- When the given URI could not be read.
 
 - 
 
 -