Interface SourceType


public interface SourceType
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the NamespacedId identifying the source type.
    Gets the parser used to deserialize sources from configuration.
    boolean
    Gets whether at least one instance of the source type is defined and loaded from the plugin's configuration.
  • Method Details

    • getId

      NamespacedId getId()
      Gets the NamespacedId identifying the source type.
      Returns:
      the id
    • getParser

      XpSourceParser<?> getParser()
      Gets the parser used to deserialize sources from configuration.
      Returns:
      the parser
    • isEnabled

      boolean isEnabled()
      Gets whether at least one instance of the source type is defined and loaded from the plugin's configuration.
      Returns:
      whether the source is enabled