Class CheckResult.Solution

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    CheckResult

    public static class CheckResult.Solution
    extends java.lang.Object
    implements java.io.Serializable
    A 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
    • 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

      • 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