public abstract class CommandMock<T>
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected Account |
account |
protected boolean |
allowErrorLog |
protected Container |
container |
static org.slf4j.Logger |
LOG |
protected StoredObject |
object |
protected Swift |
swift |
| Constructor and Description |
|---|
CommandMock(Swift swift,
Account account) |
CommandMock(Swift swift,
Account account,
Container container) |
CommandMock(Swift swift,
Account account,
Container container,
StoredObject object) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
applyDelay() |
T |
call() |
abstract SwiftResult<T> |
callSwift() |
abstract HttpStatusChecker[] |
getStatusCheckers() |
void |
setAllowErrorLog(boolean allowErrorLog) |
public static final org.slf4j.Logger LOG
protected Account account
protected Container container
protected StoredObject object
protected boolean allowErrorLog
protected Swift swift
public CommandMock(Swift swift, Account account, Container container, StoredObject object)
public void setAllowErrorLog(boolean allowErrorLog)
protected void applyDelay()
public T call()
public abstract SwiftResult<T> callSwift()
public abstract HttpStatusChecker[] getStatusCheckers()
Copyright © 2012-2020 42 BV. All Rights Reserved.