Class DefaultEditorResult

All Implemented Interfaces:
EditorResult, PromptResult<EditorPrompt>

public class DefaultEditorResult extends AbstractPromptResult<EditorPrompt> implements EditorResult
Implementation of EditorResult.
  • Constructor Details

    • DefaultEditorResult

      public DefaultEditorResult(String text, EditorPrompt prompt)
      Create a new DefaultEditorResult with the given text.
      Parameters:
      text - the edited text content
      prompt - the associated EditorPrompt
  • Method Details