public class JobConfigHandler extends AbstractExecutionGraphRequestHandler
Modifier and Type | Class and Description |
---|---|
static class |
JobConfigHandler.JobConfigJsonArchivist |
Constructor and Description |
---|
JobConfigHandler(ExecutionGraphHolder executionGraphHolder) |
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.
|
String |
handleRequest(AccessExecutionGraph graph,
Map<String,String> params) |
handleJsonRequest
handleRequest
public JobConfigHandler(ExecutionGraphHolder executionGraphHolder)
public String[] getPaths()
RequestHandler
public String handleRequest(AccessExecutionGraph graph, Map<String,String> params) throws Exception
handleRequest
in class AbstractExecutionGraphRequestHandler
Exception
public static String createJobConfigJson(AccessExecutionGraph graph) throws IOException
IOException
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.