Package uk.gov.gchq.gaffer.rest.factory
Interface ExamplesFactory
-
- All Known Implementing Classes:
AbstractExamplesFactory,DefaultExamplesFactory,DefaultExamplesFactory
public interface ExamplesFactoryAn ExampleFactory creates examples of Operations
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OperationgenerateExample(Class<? extends Operation> opClass)Generates an example for anyOperationclass.
-
-
-
Method Detail
-
generateExample
Operation generateExample(Class<? extends Operation> opClass) throws IllegalAccessException, InstantiationException
Generates an example for anyOperationclass.- Parameters:
opClass- the operation to create an example for- Returns:
- the example class
- Throws:
IllegalAccessException- if the operation could not be createdInstantiationException- if the operation could not be created
-
-