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) |
handleJsonRequest
handleRequest
public JobConfigHandler(ExecutionGraphCache executionGraphCache, Executor executor)
public String[] getPaths()
RequestHandler
public CompletableFuture<String> handleRequest(AccessExecutionGraph graph, Map<String,String> params)
handleRequest
in class AbstractExecutionGraphRequestHandler
public static String createJobConfigJson(AccessExecutionGraph graph) throws IOException
IOException
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.