public class SnapshotGenerator extends Object
| Constructor and Description |
|---|
SnapshotGenerator(Object self,
Class<? extends SnapshotConfig> config) |
| Modifier and Type | Method and Description |
|---|---|
void |
done() |
void |
expectVariables(Object... args) |
void |
expectVariables(Object result,
Object... args) |
static SnapshotGenerator |
getCurrentGenerator() |
SnapshotConsumer |
getMethodConsumer() |
void |
init() |
void |
inputVariables(Class<?> clazz,
String method,
Type[] paramTypes,
Object... args) |
void |
inputVariables(Class<?> clazz,
String method,
Type resultType,
Object result,
Type[] paramTypes,
Object... args) |
void |
outputVariables(Class<?> clazz,
String method,
Type[] paramTypes,
Object... args) |
SnapshotProcess |
process() |
SnapshotProcess |
process(ContextSnapshotFactory factory) |
void |
register(String signature,
Method method) |
void |
setupVariables(String signature,
Object... args) |
void |
throwVariables(Throwable throwable,
Object... args) |
public SnapshotGenerator(Object self, Class<? extends SnapshotConfig> config)
public static SnapshotGenerator getCurrentGenerator()
public SnapshotConsumer getMethodConsumer()
public SnapshotProcess process(ContextSnapshotFactory factory)
public SnapshotProcess process()
public void init()
public void inputVariables(Class<?> clazz, String method, Type resultType, Object result, Type[] paramTypes, Object... args)
public void inputVariables(Class<?> clazz, String method, Type[] paramTypes, Object... args)
public void outputVariables(Class<?> clazz, String method, Type[] paramTypes, Object... args)
public void expectVariables(Object... args)
public void done()
Copyright © 2016. All rights reserved.