Interface AutoReadMemorySpecFactory

All Superinterfaces:
ExtensionPoint

public interface AutoReadMemorySpecFactory extends ExtensionPoint
A discoverable factory of auto-read memory specifications
  • Method Details

    • fromConfigName

      static AutoReadMemorySpec fromConfigName(String name)
      Get the specification for the given configuration name
      Parameters:
      name - the name
      Returns:
      the spec, or null
    • allSuggested

      static Map<String,AutoReadMemorySpec> allSuggested(PluginTool tool)
      Get a copy of all the known and visible specifications
      Parameters:
      tool - the plugin tool or context
      Returns:
      the specifications by configuration name
    • getSuggested

      List<AutoReadMemorySpec> getSuggested(PluginTool tool)
      Get all the specifications currently suggested by this factory
      Parameters:
      tool - the plugin tool or context
      Returns:
      the list of suggested specifications
    • parseSpec

      AutoReadMemorySpec parseSpec(String name)
      Attempt to parse the given configuration name as a specification
      Parameters:
      name - the configuration name, usually including a prefix unique to each factory
      Returns:
      the specification, or null if this factory cannot parse it