Class OperationController
- java.lang.Object
-
- uk.gov.gchq.gaffer.rest.service.v2.AbstractOperationService
-
- uk.gov.gchq.gaffer.rest.controller.OperationController
-
- All Implemented Interfaces:
IOperationController
@RestController public class OperationController extends AbstractOperationService implements IOperationController
-
-
Field Summary
Fields Modifier and Type Field Description com.fasterxml.jackson.databind.ObjectMapper
mapper
-
Constructor Summary
Constructors Constructor Description OperationController(GraphFactory graphFactory, UserFactory userFactory, ExamplesFactory examplesFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<Object>
execute(Operation operation)
org.springframework.http.ResponseEntity<org.springframework.web.servlet.mvc.method.annotation.StreamingResponseBody>
executeChunked(Operation operation)
Set<OperationDetail>
getAllOperationDetails()
Set<OperationDetail>
getAllOperationDetailsIncludingUnsupported()
Set<Class<? extends Operation>>
getNextOperations(String className)
OperationDetail
getOperationDetails(String className)
Operation
getOperationExample(String className)
Set<Class<? extends Operation>>
getOperations()
Set<Class<? extends Operation>>
getOperationsIncludingUnsupported()
-
Methods inherited from class uk.gov.gchq.gaffer.rest.service.v2.AbstractOperationService
getSupportedOperationDetails, getSupportedOperationDetails, getSupportedOperations, getSupportedOperations
-
-
-
-
Constructor Detail
-
OperationController
@Autowired public OperationController(GraphFactory graphFactory, UserFactory userFactory, ExamplesFactory examplesFactory)
-
-
Method Detail
-
getOperations
public Set<Class<? extends Operation>> getOperations()
- Specified by:
getOperations
in interfaceIOperationController
-
getOperationsIncludingUnsupported
public Set<Class<? extends Operation>> getOperationsIncludingUnsupported()
- Specified by:
getOperationsIncludingUnsupported
in interfaceIOperationController
-
getAllOperationDetails
public Set<OperationDetail> getAllOperationDetails()
- Specified by:
getAllOperationDetails
in interfaceIOperationController
-
getAllOperationDetailsIncludingUnsupported
public Set<OperationDetail> getAllOperationDetailsIncludingUnsupported()
- Specified by:
getAllOperationDetailsIncludingUnsupported
in interfaceIOperationController
-
getOperationDetails
public OperationDetail getOperationDetails(@PathVariable("className") String className)
- Specified by:
getOperationDetails
in interfaceIOperationController
-
getNextOperations
public Set<Class<? extends Operation>> getNextOperations(@PathVariable("className") String className)
- Specified by:
getNextOperations
in interfaceIOperationController
-
getOperationExample
public Operation getOperationExample(@PathVariable("className") String className)
- Specified by:
getOperationExample
in interfaceIOperationController
-
execute
public org.springframework.http.ResponseEntity<Object> execute(@RequestBody Operation operation)
- Specified by:
execute
in interfaceIOperationController
-
executeChunked
public org.springframework.http.ResponseEntity<org.springframework.web.servlet.mvc.method.annotation.StreamingResponseBody> executeChunked(@RequestBody Operation operation)
- Specified by:
executeChunked
in interfaceIOperationController
-
-