Class TaskToolsResource

java.lang.Object
org.springframework.hateoas.RepresentationModel<TaskToolsResource>
org.springframework.cloud.dataflow.rest.resource.TaskToolsResource

public class TaskToolsResource extends org.springframework.hateoas.RepresentationModel<TaskToolsResource>
Represents a response from the tools endpoint. Depending on whether the request was to parse a DSL string into a graph or convert a graph to DSL, the different fields of the response will be filled in.
Author:
Andy Clement
  • Constructor Details

    • TaskToolsResource

      public TaskToolsResource()
    • TaskToolsResource

      public TaskToolsResource(org.springframework.cloud.dataflow.core.dsl.graph.Graph graph, List<Map<String,Object>> errors)
    • TaskToolsResource

      public TaskToolsResource(String dsl, List<Map<String,Object>> errors)
  • Method Details

    • getGraph

      public org.springframework.cloud.dataflow.core.dsl.graph.Graph getGraph()
    • getDsl

      public String getDsl()
    • getErrors

      public List<Map<String,Object>> getErrors()