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 Summary
ConstructorDescriptionTaskToolsResource
(org.springframework.cloud.dataflow.core.dsl.graph.Graph graph, List<Map<String, Object>> errors) -
Method Summary
Methods inherited from class org.springframework.hateoas.RepresentationModel
add, add, add, addAllIf, addIf, equals, getLink, getLink, getLinks, getLinks, getLinks, getRequiredLink, getRequiredLink, hashCode, hasLink, hasLink, hasLinks, mapLink, mapLinkIf, of, of, removeLinks, toString
-
Constructor Details
-
TaskToolsResource
public TaskToolsResource() -
TaskToolsResource
-
TaskToolsResource
-
-
Method Details
-
getGraph
public org.springframework.cloud.dataflow.core.dsl.graph.Graph getGraph() -
getDsl
-
getErrors
-