Interface Pattern.Builder

    • Method Detail

      • countersToAggregate

        Pattern.Builder countersToAggregate​(Collection<String> countersToAggregate)

        A list of the different counters used to determine if there is a match.

        Parameters:
        countersToAggregate - A list of the different counters used to determine if there is a match.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • countersToAggregate

        Pattern.Builder countersToAggregate​(String... countersToAggregate)

        A list of the different counters used to determine if there is a match.

        Parameters:
        countersToAggregate - A list of the different counters used to determine if there is a match.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        Pattern.Builder description​(String description)

        The description of the recommendation. This explains a potential inefficiency in a profiled application.

        Parameters:
        description - The description of the recommendation. This explains a potential inefficiency in a profiled application.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • id

        Pattern.Builder id​(String id)

        The universally unique identifier (UUID) of this pattern.

        Parameters:
        id - The universally unique identifier (UUID) of this pattern.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        Pattern.Builder name​(String name)

        The name for this pattern.

        Parameters:
        name - The name for this pattern.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resolutionSteps

        Pattern.Builder resolutionSteps​(String resolutionSteps)

        A string that contains the steps recommended to address the potential inefficiency.

        Parameters:
        resolutionSteps - A string that contains the steps recommended to address the potential inefficiency.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • targetFrames

        Pattern.Builder targetFrames​(Collection<? extends Collection<String>> targetFrames)

        A list of frame names that were searched during the analysis that generated a recommendation.

        Parameters:
        targetFrames - A list of frame names that were searched during the analysis that generated a recommendation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • targetFrames

        Pattern.Builder targetFrames​(Collection<String>... targetFrames)

        A list of frame names that were searched during the analysis that generated a recommendation.

        Parameters:
        targetFrames - A list of frame names that were searched during the analysis that generated a recommendation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • thresholdPercent

        Pattern.Builder thresholdPercent​(Double thresholdPercent)

        The percentage of time an application spends in one method that triggers a recommendation. The percentage of time is the same as the percentage of the total gathered sample counts during analysis.

        Parameters:
        thresholdPercent - The percentage of time an application spends in one method that triggers a recommendation. The percentage of time is the same as the percentage of the total gathered sample counts during analysis.
        Returns:
        Returns a reference to this object so that method calls can be chained together.