Interface LLMRemediationOutcome

All Known Implementing Classes:
CodeChangingLLMRemediationOutcome, NoActionLLMRemediationOutcome

public interface LLMRemediationOutcome
Describes a possible remediation outcome.
  • Method Summary

    Modifier and Type
    Method
    Description
    A description of the code that the LLM will attempt to use to match.
    fix()
    A description of the fix for cases that match this description.
    key()
    A small, unique key that identifies this outcome.
    boolean
    Whether this outcome should lead to a code change.
  • Method Details

    • key

      String key()
      A small, unique key that identifies this outcome.
    • description

      String description()
      A description of the code that the LLM will attempt to use to match.
    • fix

      String fix()
      A description of the fix for cases that match this description.
    • shouldApplyCodeChanges

      boolean shouldApplyCodeChanges()
      Whether this outcome should lead to a code change.