Interface EnvironmentSelector
public interface EnvironmentSelector
Defines methods implemented by classes taking care of the 2nd step when building configuration - selecting the environment.
-
Method Summary
Modifier and TypeMethodDescriptionReturns aCustomConfigurationBuilderallowing the properties to be set to custom values (usefull for testing with local AMQP)selectEnvironment(Environment environment) Returns aConfigurationBuilderwith properties set to values needed to access specified environment.Returns aConfigurationBuilderwith properties set to values needed to access replay server
-
Method Details
-
selectReplay
ConfigurationBuilder selectReplay()Returns aConfigurationBuilderwith properties set to values needed to access replay server- Returns:
- a
ConfigurationBuilderwith properties set to values needed to access replay server
-
selectCustom
CustomConfigurationBuilder selectCustom()Returns aCustomConfigurationBuilderallowing the properties to be set to custom values (usefull for testing with local AMQP)- Returns:
- a
CustomConfigurationBuilderallowing the properties to be set to custom values
-
selectEnvironment
Returns aConfigurationBuilderwith properties set to values needed to access specified environment. (for accessing replay or custom server use selectReplay or selectCustom)- Parameters:
environment- aEnvironmentspecifying to which environment to connect- Returns:
- a
ConfigurationBuilderwith properties set to values needed to access specified environment
-