Package uk.gov.gchq.gaffer.rest.factory
Interface ExamplesFactory
-
- All Known Implementing Classes:
AbstractExamplesFactory
,DefaultExamplesFactory
,DefaultExamplesFactory
public interface ExamplesFactory
An ExampleFactory creates examples of Operations
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Operation
generateExample(Class<? extends Operation> opClass)
Generates an example for anyOperation
class.
-
-
-
Method Detail
-
generateExample
Operation generateExample(Class<? extends Operation> opClass) throws IllegalAccessException, InstantiationException
Generates an example for anyOperation
class.- 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
-
-