Interface JobTemplateProvider


public interface JobTemplateProvider
JobTemplateProvider exposes job templates that can be registered into Gravitino.

Implementations are expected to be discoverable (for example via SPI) so that Gravitino can onboard built-in job templates automatically.

  • Field Details

    • BUILTIN_NAME_PREFIX

      static final String BUILTIN_NAME_PREFIX
      Prefix for built-in job template names.
      See Also:
    • BUILTIN_NAME_PATTERN

      static final String BUILTIN_NAME_PATTERN
      Regex to validate built-in job template names.
      See Also:
    • PROPERTY_VERSION_KEY

      static final String PROPERTY_VERSION_KEY
      Property key used to carry the built-in job template version.
      See Also:
    • VERSION_VALUE_PATTERN

      static final String VERSION_VALUE_PATTERN
      Regex for version property value (e.g., v1, v2).
      See Also:
  • Method Details

    • jobTemplates

      List<? extends JobTemplate> jobTemplates()
      Return all job templates provided by this implementation.
      Returns:
      a list of job templates to register