Interface PromptConfiguration

All Known Subinterfaces:
ProjectPromptConfiguration, ServicePromptConfiguration, SharedPromptConfiguration

@Experimental public interface PromptConfiguration
A modifiable prompt configuration in a specific context (service, shared or project).
Since:
5.2.241209
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns all prompt operations in the current context.
    Returns all prompt options in the current context.
    void
    Saves the current prompt configuration.
  • Method Details

    • getOperations

      @NotNull @NotNull PromptOperationList getOperations()
      Returns all prompt operations in the current context.
      Returns:
      The list of operations.
      Since:
      5.2.241209
    • getOptions

      @NotNull @NotNull PromptOptionList getOptions()
      Returns all prompt options in the current context.
      Returns:
      The list of options.
      Since:
      5.2.241209
    • save

      void save() throws IOException, SecurityException
      Saves the current prompt configuration.
      Throws:
      IOException - If an unexpected I/O error occurred while saving the configuration.
      SecurityException - If the current user does not have the required permission to modify the configuration.
      Since:
      5.2.241209