Class AwsLocalEnvironment
java.lang.Object
net.officefloor.test.system.AbstractExternalOverride<I>
net.officefloor.test.system.AbstractEnvironmentOverride<AwsLocalEnvironment>
net.officefloor.nosql.dynamodb.test.AwsLocalEnvironment
Local environment for AWS.
- Author:
- Daniel Sagenschneider
-
Nested Class Summary
Nested classes/interfaces inherited from class net.officefloor.test.system.AbstractEnvironmentOverride
AbstractEnvironmentOverride.EnvironmentChangeNested classes/interfaces inherited from class net.officefloor.test.system.AbstractExternalOverride
AbstractExternalOverride.ContextRunnable<T extends Throwable>, AbstractExternalOverride.OverrideReset -
Constructor Summary
ConstructorsConstructorDescriptionInstantiate with environment for localAmazonDynamoDB. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidloadAwsEnvironmentSettings(BiConsumer<String, String> loadEnvironmentSetting) Loads the AWS environment settings.voidsetupEnvironment(int port) Sets up the environment.voidTears down the environment.Methods inherited from class net.officefloor.test.system.AbstractEnvironmentOverride
changeEnvironment, clear, get, setMethods inherited from class net.officefloor.test.system.AbstractExternalOverride
override, property, run
-
Constructor Details
-
AwsLocalEnvironment
public AwsLocalEnvironment()Instantiate with environment for localAmazonDynamoDB.
-
-
Method Details
-
loadAwsEnvironmentSettings
Loads the AWS environment settings.- Parameters:
loadEnvironmentSetting- Receives the AWS environment settings.
-
setupEnvironment
public void setupEnvironment(int port) Sets up the environment.- Parameters:
port- Port for DynamoDB.
-
tearDownEnvironment
public void tearDownEnvironment()Tears down the environment.
-