public class JobConfigHandler extends AbstractExecutionGraphRequestHandler
| Modifier and Type | Class and Description |
|---|---|
static class |
JobConfigHandler.JobConfigJsonArchivist
Archivist for the JobConfigHandler.
|
executor| Constructor and Description |
|---|
JobConfigHandler(ExecutionGraphCache executionGraphCache,
Executor executor) |
| Modifier and Type | Method and Description |
|---|---|
static String |
createJobConfigJson(AccessExecutionGraph graph) |
String[] |
getPaths()
Returns an array of REST URL's under which this handler can be registered.
|
CompletableFuture<String> |
handleRequest(AccessExecutionGraph graph,
Map<String,String> params) |
handleJsonRequesthandleRequestpublic JobConfigHandler(ExecutionGraphCache executionGraphCache, Executor executor)
public String[] getPaths()
RequestHandlerpublic CompletableFuture<String> handleRequest(AccessExecutionGraph graph, Map<String,String> params)
handleRequest in class AbstractExecutionGraphRequestHandlerpublic static String createJobConfigJson(AccessExecutionGraph graph) throws IOException
IOExceptionCopyright © 2014–2018 The Apache Software Foundation. All rights reserved.