Class Solution


  • public class Solution
    extends Object
    Class Representing Solution for problems detected.
    • Constructor Detail

      • Solution

        public Solution()
    • Method Detail

      • id

        public Double id()
        Get solution Id.
        Returns:
        the id value
      • withId

        public Solution withId​(Double id)
        Set solution Id.
        Parameters:
        id - the id value to set
        Returns:
        the Solution object itself.
      • displayName

        public String displayName()
        Get display Name of the solution.
        Returns:
        the displayName value
      • withDisplayName

        public Solution withDisplayName​(String displayName)
        Set display Name of the solution.
        Parameters:
        displayName - the displayName value to set
        Returns:
        the Solution object itself.
      • order

        public Double order()
        Get order of the solution.
        Returns:
        the order value
      • withOrder

        public Solution withOrder​(Double order)
        Set order of the solution.
        Parameters:
        order - the order value to set
        Returns:
        the Solution object itself.
      • description

        public String description()
        Get description of the solution.
        Returns:
        the description value
      • withDescription

        public Solution withDescription​(String description)
        Set description of the solution.
        Parameters:
        description - the description value to set
        Returns:
        the Solution object itself.
      • type

        public SolutionType type()
        Get type of Solution. Possible values include: 'QuickSolution', 'DeepInvestigation', 'BestPractices'.
        Returns:
        the type value
      • withType

        public Solution withType​(SolutionType type)
        Set type of Solution. Possible values include: 'QuickSolution', 'DeepInvestigation', 'BestPractices'.
        Parameters:
        type - the type value to set
        Returns:
        the Solution object itself.
      • withData

        public Solution withData​(List<List<NameValuePair>> data)
        Set solution Data.
        Parameters:
        data - the data value to set
        Returns:
        the Solution object itself.
      • metadata

        public List<List<NameValuePair>> metadata()
        Get solution Metadata.
        Returns:
        the metadata value
      • withMetadata

        public Solution withMetadata​(List<List<NameValuePair>> metadata)
        Set solution Metadata.
        Parameters:
        metadata - the metadata value to set
        Returns:
        the Solution object itself.