T - the type of thing to generatepublic abstract class FromGraphGenerator<T> extends AbstractGenerator<T>
| Modifier and Type | Class and Description |
|---|---|
static interface |
FromGraphGenerator.FromGraph
Specify that the generated objects should be from the graph generated in a previous parameter
|
| Modifier and Type | Method and Description |
|---|---|
void |
configure(FromGraphGenerator.FromGraph fromGraph) |
protected T |
generate() |
protected abstract T |
generateFromGraph() |
protected <S extends FromGraphGenerator<?>> |
genFromGraph(Class<S> generatorClass) |
protected GraknGraph |
graph() |
generateaddComponentGenerators, canGenerateForParametersOfTypes, canRegisterAsType, canShrink, compatibleWithTypeParameter, configurationAnnotationsOn, configure, configure, doShrink, gen, hasComponents, narrow, numberOfNeededComponents, provide, shrink, typesprotected final GraknGraph graph()
protected final T generate()
generate in class AbstractGenerator<T>protected abstract T generateFromGraph()
protected final <S extends FromGraphGenerator<?>> S genFromGraph(Class<S> generatorClass)
public final void configure(FromGraphGenerator.FromGraph fromGraph)
Copyright © 2017 Grakn Labs Ltd. All rights reserved.