Interface ProcessorConfig


public interface ProcessorConfig
Configuration for a veraPDF Processor or BatchProcessor.
Version:
0.1 Created 30 Oct 2016:22:13:34
Author:
Carl Wilson carlwilson AT github
  • Method Details

    • getCustomProfile

      ValidationProfile getCustomProfile()
      Returns:
      the custom ValidationProfile or a Profiles#defaultProfile() instance if no custom profile is assigned.
    • hasCustomProfile

      boolean hasCustomProfile()
      Returns:
      true if this configuration has been assigned a custom ValidationProfile
    • getValidatorConfig

      ValidatorConfig getValidatorConfig()
      Returns:
      the ValidatorConfig assigned to this configuration, or ValidatorFactory#defaultConfig() if no validation task has been assigned.
    • getFeatureConfig

      FeatureExtractorConfig getFeatureConfig()
      Returns:
      the FeatureExtractorConfig assigned to this configuration or FeatureFactory#defaultConfig() if no feature extraction task has been assigned.
    • getPluginsCollectionConfig

      PluginsCollectionConfig getPluginsCollectionConfig()
    • getFixerConfig

      MetadataFixerConfig getFixerConfig()
      Returns:
      the MetadataFixerConfig assigned to this configuration or FixerFactory#defaultConfig() if no MetadataFixer task has been assigned.
    • getMetadataFolder

      String getMetadataFolder()
      Returns:
      the folder that files fixed by the metadata fixer should be written to.
    • getTasks

      EnumSet<TaskType> getTasks()
      Returns:
      the full EnumSet of TaskTypes assigned in this configuration.
    • hasTask

      boolean hasTask(TaskType toCheck)
      Parameters:
      toCheck - the TaskType to check
      Returns:
      true if this configuration has been assigned a task of TaskType toCheck.