Package com.priint.pubserver.check
Class CheckResult.Solution
java.lang.Object
com.priint.pubserver.check.CheckResult.Solution
- All Implemented Interfaces:
Serializable
- Enclosing class:
- CheckResult
A suggested Solution for a Check or Issue.
The solution can be
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:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionSolution()Default constructorSolution(CheckResult.Solution.SolutionType solutionType, PluginMethod method, String label, String solutionInstructions) Constructor which set solutionType, method, label, solutionInstructions -
Method Summary
Modifier and TypeMethodDescriptiongetLabel()voidSet labelvoidsetMethod(PluginMethod method) Set PluginMethodvoidsetSolutionInstructions(String solutionInstructions) Set solutionInstructionsvoidsetSolutionType(CheckResult.Solution.SolutionType solutionType) Set solutionTypegetSolutionType()
-
Constructor Details
-
Solution
public Solution(CheckResult.Solution.SolutionType solutionType, PluginMethod method, String label, String solutionInstructions) Constructor which set solutionType, method, label, solutionInstructions -
Solution
public Solution()Default constructor
-
-
Method Details
-
getSolutionType
- Returns:
- SolutionType type of solution or
null
-
setSolutionType
Set solutionTypegetSolutionType() -
getMethod
- Returns:
- PluginMethod
-
setMethod
Set PluginMethod -
getSolutionInstructions
- Returns:
- SolutionInstructions
-
setSolutionInstructions
Set solutionInstructions -
getLabel
- Returns:
- label
-
setLabel
Set label
-