Package org.camunda.bpm.engine.rest.dto
Class ProblemDto
- java.lang.Object
-
- org.camunda.bpm.engine.rest.dto.ProblemDto
-
public class ProblemDto extends java.lang.Object
Dto forProblem
The problem contains a list of element ids and other details for root causing the issue.
-
-
Field Summary
Fields Modifier and Type Field Description protected int
column
protected int
line
protected java.lang.String
mainElementId
protected java.lang.String
message
protected java.util.List<java.lang.String>
еlementIds
-
Constructor Summary
Constructors Constructor Description ProblemDto()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProblemDto
fromProblem(Problem problem)
int
getColumn()
int
getLine()
java.lang.String
getMainElementId()
java.lang.String
getMessage()
java.util.List<java.lang.String>
getЕlementIds()
void
setColumn(int column)
void
setLine(int line)
void
setMainElementId(java.lang.String mainElementId)
void
setMessage(java.lang.String errorMessage)
void
setЕlementIds(java.util.List<java.lang.String> elementIds)
-
-
-
Method Detail
-
fromProblem
public static ProblemDto fromProblem(Problem problem)
-
getMessage
public java.lang.String getMessage()
-
setMessage
public void setMessage(java.lang.String errorMessage)
-
getLine
public int getLine()
-
setLine
public void setLine(int line)
-
getColumn
public int getColumn()
-
setColumn
public void setColumn(int column)
-
getMainElementId
public java.lang.String getMainElementId()
-
setMainElementId
public void setMainElementId(java.lang.String mainElementId)
-
getЕlementIds
public java.util.List<java.lang.String> getЕlementIds()
-
setЕlementIds
public void setЕlementIds(java.util.List<java.lang.String> elementIds)
-
-