Package com.tibco.ep.tcs.runtime
Class FlowValidationProblem
- java.lang.Object
-
- com.tibco.ep.tcs.runtime.FlowValidationProblem
-
public class FlowValidationProblem extends Object
A container for a single flow validation error or warning.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFlowValidationProblem.EntityTypeEntity type.static classFlowValidationProblem.ProblemTypeProblem type.static classFlowValidationProblem.SeverityLevelProblem severity level.
-
Constructor Summary
Constructors Constructor Description FlowValidationProblem(FlowValidationProblem.SeverityLevel severityLevel, FlowValidationProblem.ProblemType type, FlowValidationProblem.EntityType entityType, String entityName, String location, String description)Create a new validation problem associated with a TCS flow entity.FlowValidationProblem(FlowValidationProblem.SeverityLevel severityLevel, FlowValidationProblem.ProblemType type, String location, String description)Create a new validation problem not associated with a TCS flow entity.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Return this problem's description.StringgetEntityName()Name of the entity that caused the problem, null if unknown.FlowValidationProblem.EntityTypegetEntityType()The entity type that caused the problem,Unknownif unknown.StringgetLocation()Return this problem's location, null if unknown or not relevant.FlowValidationProblem.SeverityLevelgetSeverityLevel()Return this problem's severity level.FlowValidationProblem.ProblemTypegetType()Return this problem's typeStringtoString()Format the problem in a human-readable line of text.
-
-
-
Constructor Detail
-
FlowValidationProblem
public FlowValidationProblem(FlowValidationProblem.SeverityLevel severityLevel, FlowValidationProblem.ProblemType type, String location, String description)
Create a new validation problem not associated with a TCS flow entity. Entity type is unknown, entity name is null.
- Parameters:
severityLevel- problem severity leveltype- problem typelocation- problem locationdescription- description of the problem
-
FlowValidationProblem
public FlowValidationProblem(FlowValidationProblem.SeverityLevel severityLevel, FlowValidationProblem.ProblemType type, FlowValidationProblem.EntityType entityType, String entityName, String location, String description)
Create a new validation problem associated with a TCS flow entity.
- Parameters:
severityLevel- problem severity leveltype- problem typeentityType- type of TCS flow entity causing the problem,FlowValidationProblem.EntityType.Unknownif unknownentityName- name of TCS entity causing the problem, null if unknownlocation- problem location, null if not relevantdescription- description of the problem
-
-
Method Detail
-
getSeverityLevel
public FlowValidationProblem.SeverityLevel getSeverityLevel()
Return this problem's severity level.
- Returns:
- the level
-
getType
public FlowValidationProblem.ProblemType getType()
Return this problem's type
- Returns:
- the type
-
getEntityType
public FlowValidationProblem.EntityType getEntityType()
The entity type that caused the problem,
Unknownif unknown.- Returns:
- the type
-
getEntityName
public String getEntityName()
Name of the entity that caused the problem, null if unknown.
- Returns:
- the name
-
getLocation
public String getLocation()
Return this problem's location, null if unknown or not relevant.
- Returns:
- the location
-
getDescription
public String getDescription()
Return this problem's description.
- Returns:
- the description
-
-