S3ClassExtension
@Deprecated
public class S3MockRule
extends org.junit.rules.ExternalResource
getEndpoint()
to retrieve the endpoint URL to connect to.
Example usage:
@ClassRule public static final S3MockRule S3_MOCK = S3MockRule.builder().build();
Modifier and Type | Class and Description |
---|---|
static class |
S3MockRule.Builder
Deprecated.
|
Constructor and Description |
---|
S3MockRule(java.util.List<java.lang.String> buckets,
java.util.List<MockObject> mockObjects)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
after()
Deprecated.
|
protected void |
before()
Deprecated.
|
static S3MockRule.Builder |
builder()
Deprecated.
|
com.amazonaws.services.s3.AmazonS3 |
getClient()
Deprecated.
|
java.lang.String |
getEndpoint()
Deprecated.
|
void |
resetAll()
Deprecated.
|
void |
start()
Deprecated.
|
void |
stop()
Deprecated.
|
public S3MockRule(java.util.List<java.lang.String> buckets, java.util.List<MockObject> mockObjects)
protected void before()
before
in class org.junit.rules.ExternalResource
protected void after()
after
in class org.junit.rules.ExternalResource
public java.lang.String getEndpoint()
public void resetAll()
public com.amazonaws.services.s3.AmazonS3 getClient()
public void start()
public void stop()
public static S3MockRule.Builder builder()