Interface ScriptExtensionAccessor


  • @NonNullByDefault
    public interface ScriptExtensionAccessor
    Accessor allowing script engines to lookup presets.
    Author:
    Jonathan Gilbert - Initial contribution
    • Method Detail

      • findDefaultPresets

        Map<String,​Object> findDefaultPresets​(String scriptIdentifier)
        Access the default presets for a script engine
        Parameters:
        scriptIdentifier - the identifier for the script engine
        Returns:
        map of preset objects
      • findPreset

        Map<String,​Object> findPreset​(String preset,
                                            String scriptIdentifier)
        Access specific presets for a script engine
        Parameters:
        preset - the name of the preset
        scriptIdentifier - the identifier for the script engine
        Returns:
        map of preset objects