Package com.priint.pubserver.check
Class CheckResult.Solution
- java.lang.Object
-
- com.priint.pubserver.check.CheckResult.Solution
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- CheckResult
public static class CheckResult.Solution extends java.lang.Object implements java.io.SerializableA suggested Solution for a Check or Issue.
The solution can be- a manual fix, which is described by the solutionDescription field
- a method call, which is defined by the method field
- a delete request, which is explained by the solutionDescription field
- suggestion to call the support, which of course should be the last resort for all issues
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCheckResult.Solution.SolutionTypeType of solution
-
Constructor Summary
Constructors Constructor Description Solution()Default constructorSolution(CheckResult.Solution.SolutionType solutionType, PluginMethod method, java.lang.String label, java.lang.String solutionInstructions)Constructor which set solutionType, method, label, solutionInstructions
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetLabel()PluginMethodgetMethod()java.lang.StringgetSolutionInstructions()CheckResult.Solution.SolutionTypegetSolutionType()voidsetLabel(java.lang.String label)Set labelvoidsetMethod(PluginMethod method)Set PluginMethodvoidsetSolutionInstructions(java.lang.String solutionInstructions)Set solutionInstructionsvoidsetSolutionType(CheckResult.Solution.SolutionType solutionType)Set solutionTypegetSolutionType()
-
-
-
Constructor Detail
-
Solution
public Solution(CheckResult.Solution.SolutionType solutionType, PluginMethod method, java.lang.String label, java.lang.String solutionInstructions)
Constructor which set solutionType, method, label, solutionInstructions
-
Solution
public Solution()
Default constructor
-
-
Method Detail
-
getSolutionType
public CheckResult.Solution.SolutionType getSolutionType()
- Returns:
- SolutionType type of solution or
null
-
setSolutionType
public void setSolutionType(CheckResult.Solution.SolutionType solutionType)
Set solutionTypegetSolutionType()
-
getMethod
public PluginMethod getMethod()
- Returns:
- PluginMethod
-
setMethod
public void setMethod(PluginMethod method)
Set PluginMethod
-
getSolutionInstructions
public java.lang.String getSolutionInstructions()
- Returns:
- SolutionInstructions
-
setSolutionInstructions
public void setSolutionInstructions(java.lang.String solutionInstructions)
Set solutionInstructions
-
getLabel
public java.lang.String getLabel()
- Returns:
- label
-
setLabel
public void setLabel(java.lang.String label)
Set label
-
-