Interface SourceType
public interface SourceType
-
Method Summary
Modifier and TypeMethodDescriptiongetId()Gets theNamespacedIdidentifying the source type.Gets the parser used to deserialize sources from configuration.booleanGets whether at least one instance of the source type is defined and loaded from the plugin's configuration.
-
Method Details
-
getId
NamespacedId getId()Gets theNamespacedIdidentifying 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
-