Interface RandomGenerator
- All Known Implementing Classes:
NSCGenerator,StoryTagGenerator,SWNNPCGenerator
public interface RandomGenerator
-
Method Summary
Modifier and TypeMethodDescriptionstatic RandomGeneratorBuilderbuilder()static booleancontains(List<Classification<?>> list, ClassificationType type) generate(VariableHolderNode context) getId()Short and unique identifier for this generatorWhat kind of data is providedgetType()static <T> TgetValueOf(List<Classification<?>> list, ClassificationType type) booleanmatchesFilter(Classification<?> filter) booleanunderstandsHint(ClassificationType filter)
-
Method Details
-
builder
-
contains
-
getValueOf
-
getId
String getId()Short and unique identifier for this generator -
getType
GeneratorType getType() -
getRequiredVariables
Collection<ClassificationType> getRequiredVariables() -
getProvidedData
Collection<DataType> getProvidedData()What kind of data is provided -
matchesFilter
-
understandsHint
-
generate
-