Package com.ibm.di.server
Class ValidationIssue
- java.lang.Object
-
- com.ibm.di.server.ValidationIssue
-
public class ValidationIssue extends java.lang.ObjectThe class represents issues related to design-time validation of some aspect of a TDI Component. It is reminiscent of the Eclipse IMarker abstraction.
-
-
Constructor Summary
Constructors Constructor Description ValidationIssue(int severity, java.lang.String problem, BaseConfiguration config, java.lang.String message)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BaseConfigurationgetConfig()Return the configuration that has the problem.java.lang.StringgetMessage()Return the message that will be displayed.java.lang.StringgetProblem()Return the problem.intgetSeverity()Return the level of the problem.voidsetConfig(BaseConfiguration config)Set configuration that has the problem.voidsetMessage(java.lang.String message)Set message that will be displayed.voidsetProblem(java.lang.String problem)Set the problem.voidsetSeverity(int severity)Set level of the problem.
-
-
-
Constructor Detail
-
ValidationIssue
public ValidationIssue(int severity, java.lang.String problem, BaseConfiguration config, java.lang.String message)Constructor.- Parameters:
severity- the level of the problem.problem- the problem.config- that has the problem.message- that will be displayed.
-
-
Method Detail
-
getSeverity
public int getSeverity()
Return the level of the problem.- Returns:
- the severity
-
setSeverity
public void setSeverity(int severity)
Set level of the problem.- Parameters:
severity- the severity to be set
-
getProblem
public java.lang.String getProblem()
Return the problem.- Returns:
- the problem.
-
setProblem
public void setProblem(java.lang.String problem)
Set the problem.- Parameters:
problem- the problem to be set
-
getConfig
public BaseConfiguration getConfig()
Return the configuration that has the problem.- Returns:
- the configuration.
-
setConfig
public void setConfig(BaseConfiguration config)
Set configuration that has the problem.- Parameters:
config- the configuration to be set.
-
getMessage
public java.lang.String getMessage()
Return the message that will be displayed.- Returns:
- the message
-
setMessage
public void setMessage(java.lang.String message)
Set message that will be displayed.- Parameters:
message- the message to be set
-
-