Class InferenceSelection

java.lang.Object
org.apache.tika.parser.inference.InferenceSelection
All Implemented Interfaces:
Serializable

public class InferenceSelection extends Object implements Serializable
Per-request choice among the configured bindings, under "inference" in parse-context: enabled: false runs none; bindings names the ones that run, every enabled binding when absent. Names only, so it is wire-safe; a name not in the configured list fails the request.
See Also:
  • Constructor Details

    • InferenceSelection

      public InferenceSelection()
  • Method Details

    • isEnabled

      public boolean isEnabled()
    • setEnabled

      public void setEnabled(boolean enabled)
    • getBindings

      public List<String> getBindings()
    • setBindings

      public void setBindings(List<String> bindings)