Class AwsLocalEnvironment
- java.lang.Object
-
- net.officefloor.test.system.AbstractExternalOverride<I>
-
- net.officefloor.test.system.AbstractEnvironmentOverride<AwsLocalEnvironment>
-
- net.officefloor.nosql.dynamodb.test.AwsLocalEnvironment
-
public class AwsLocalEnvironment extends AbstractEnvironmentOverride<AwsLocalEnvironment>
Local environment for AWS.- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.officefloor.test.system.AbstractEnvironmentOverride
AbstractEnvironmentOverride.EnvironmentChange
-
Nested classes/interfaces inherited from class net.officefloor.test.system.AbstractExternalOverride
AbstractExternalOverride.ContextRunnable<T extends java.lang.Throwable>, AbstractExternalOverride.OverrideReset
-
-
Constructor Summary
Constructors Constructor Description AwsLocalEnvironment()
Instantiate with environment for localAmazonDynamoDB
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
loadAwsEnvironmentSettings(java.util.function.BiConsumer<java.lang.String,java.lang.String> loadEnvironmentSetting)
Loads the AWS environment settings.void
setupEnvironment(int port)
Sets up the environment.void
tearDownEnvironment()
Tears down the environment.-
Methods inherited from class net.officefloor.test.system.AbstractEnvironmentOverride
changeEnvironment, clear, get, set
-
Methods inherited from class net.officefloor.test.system.AbstractExternalOverride
override, property, run
-
-
-
-
Method Detail
-
loadAwsEnvironmentSettings
public static void loadAwsEnvironmentSettings(java.util.function.BiConsumer<java.lang.String,java.lang.String> loadEnvironmentSetting)
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.
-
-