Package de.xima.fc.e2e.environment.impl
Class FormcycleEnvironmentConfigBuilder
- java.lang.Object
 - 
- de.xima.fc.e2e.environment.impl.FormcycleEnvironmentConfigBuilder
 
 
- 
- All Implemented Interfaces:
 IFormcycleEnvironmentConfigBuilder
public final class FormcycleEnvironmentConfigBuilder extends Object implements IFormcycleEnvironmentConfigBuilder
Internal default POJO implementation ofIFormcycleEnvironmentConfig.- Author:
 - XIMA MEDIA GmbH
 
 
- 
- 
Constructor Summary
Constructors Constructor Description FormcycleEnvironmentConfigBuilder() 
- 
Method Summary
 
 - 
 
- 
- 
Method Detail
- 
build
public IFormcycleEnvironmentConfig build()
- Specified by:
 buildin interfaceIFormcycleEnvironmentConfigBuilder- Returns:
 - A new configuration with the current settings.
 
 
- 
withApplicationProperties
public IFormcycleEnvironmentConfigBuilder withApplicationProperties(Properties applicationProperties)
- Specified by:
 withApplicationPropertiesin interfaceIFormcycleEnvironmentConfigBuilder- Parameters:
 applicationProperties- The contents of theapplication.propertiesfile to use when starting the FORMCYCLE app.- Returns:
 - This builder instance for chaining method calls.
 
 
- 
withApplicationProperties
public IFormcycleEnvironmentConfigBuilder withApplicationProperties(URI properties) throws IOException
- Specified by:
 withApplicationPropertiesin interfaceIFormcycleEnvironmentConfigBuilder- Parameters:
 properties- 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
public IFormcycleEnvironmentConfigBuilder withDatabaseProperties(Properties databaseProperties)
- Specified by:
 withDatabasePropertiesin interfaceIFormcycleEnvironmentConfigBuilder- Parameters:
 databaseProperties- The contents of thedatabase.propertiesfile to use when starting the FORMCYCLE app.- Returns:
 - This builder instance for chaining method calls.
 
 
- 
withDatabaseProperties
public IFormcycleEnvironmentConfigBuilder withDatabaseProperties(URI properties) throws IOException
- Specified by:
 withDatabasePropertiesin interfaceIFormcycleEnvironmentConfigBuilder- Parameters:
 properties- 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
public IFormcycleEnvironmentConfigBuilder withFcmLicense(String key, byte[] data)
- Specified by:
 withFcmLicensein interfaceIFormcycleEnvironmentConfigBuilder- Parameters:
 key- Key of the license file.data- Contents of the license file.- Returns:
 - This builder instance for chaining method calls.
 
 
- 
withFcmLicense
public IFormcycleEnvironmentConfigBuilder withFcmLicense(String key, URI data) throws IOException
- Specified by:
 withFcmLicensein interfaceIFormcycleEnvironmentConfigBuilder- 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
public IFormcycleEnvironmentConfigBuilder withFcmLicenseData(byte[] fcmLicenseData)
- Specified by:
 withFcmLicenseDatain interfaceIFormcycleEnvironmentConfigBuilder- Parameters:
 fcmLicenseData- Contents of the license file.- Returns:
 - This builder instance for chaining method calls.
 
 
- 
withFcmLicenseData
public IFormcycleEnvironmentConfigBuilder withFcmLicenseData(URI fcmLicense) throws IOException
- Specified by:
 withFcmLicenseDatain interfaceIFormcycleEnvironmentConfigBuilder- Parameters:
 fcmLicense- 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
public IFormcycleEnvironmentConfigBuilder withFcmLicenseKey(String fcmLicenseKey)
- Specified by:
 withFcmLicenseKeyin interfaceIFormcycleEnvironmentConfigBuilder- Parameters:
 fcmLicenseKey- Key of the license file.- Returns:
 - This builder instance for chaining method calls.
 
 
- 
withFormcycleWar
public IFormcycleEnvironmentConfigBuilder withFormcycleWar(URI formcycleWar)
- Specified by:
 withFormcycleWarin interfaceIFormcycleEnvironmentConfigBuilder- Parameters:
 formcycleWar- Path to the WAR with the FORMCYCLE app.- Returns:
 - This builder instance for chaining method calls.
 
 
- 
withLoggingProperties
public IFormcycleEnvironmentConfigBuilder withLoggingProperties(Properties loggingProperties)
- Specified by:
 withLoggingPropertiesin interfaceIFormcycleEnvironmentConfigBuilder- Parameters:
 loggingProperties- The contents of thelogging.propertiesfile to use when starting the FORMCYCLE app.- Returns:
 - This builder instance for chaining method calls.
 
 
- 
withLoggingProperties
public IFormcycleEnvironmentConfigBuilder withLoggingProperties(URI properties) throws IOException
- Specified by:
 withLoggingPropertiesin interfaceIFormcycleEnvironmentConfigBuilder- Parameters:
 properties- 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
public IFormcycleEnvironmentConfigBuilder withParentClassLoader(ClassLoader parentClassLoader)
- Specified by:
 withParentClassLoaderin interfaceIFormcycleEnvironmentConfigBuilder- Parameters:
 parentClassLoader- Parent class loader for the servlet container web app class loader.- Returns:
 - This builder instance for chaining method calls.
 
 
- 
withSystemMailProperties
public IFormcycleEnvironmentConfigBuilder withSystemMailProperties(Properties systemMailProperties)
- Specified by:
 withSystemMailPropertiesin interfaceIFormcycleEnvironmentConfigBuilder- Parameters:
 systemMailProperties- The contents of thesystem-mail.propertiesfile to use when starting the FORMCYCLE app.- Returns:
 - This builder instance for chaining method calls.
 
 
- 
withSystemMailProperties
public IFormcycleEnvironmentConfigBuilder withSystemMailProperties(URI properties) throws IOException
- Specified by:
 withSystemMailPropertiesin interfaceIFormcycleEnvironmentConfigBuilder- Parameters:
 properties- 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.
 
 - 
 
 -