public class TaskValidationProblem extends Object
TaskValidatorVisitor
will find those problems
and report them as instances of TaskValidationProblem
.Constructor and Description |
---|
TaskValidationProblem(String taskDsl,
int offset,
DSLMessage message) |
Modifier and Type | Method and Description |
---|---|
DSLMessage |
getMessage() |
int |
getOffset() |
Map<String,Object> |
toExceptionDescriptor()
Produce a simple map of information about the exception that can be sent to the
client for display.
|
String |
toString() |
String |
toStringWithContext() |
public TaskValidationProblem(String taskDsl, int offset, DSLMessage message)
public String toStringWithContext()
public DSLMessage getMessage()
public int getOffset()
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.