## Uses of Interface
org.apache.uima.resource.metadata.Precondition

- Packages that use Precondition
  Package | Description
  --- | ---
  org.apache.uima.resource.metadata | Interfaces for objects that represent metadata for a Resource.
  org.apache.uima.resource.metadata.impl |

- - ### Uses of Precondition in org.apache.uima.resource.metadata

    Subinterfaces of Precondition in org.apache.uima.resource.metadata
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `LanguagePrecondition` A precondition on the language of the document.
    `interface` | `MimeTypePrecondition` A precondition on the MIME Type of the entity.
    `interface` | `SimplePrecondition` `SimplePrecondition` defines a few simple conditions that can be evaluated against a `CAS`.

    Methods in org.apache.uima.resource.metadata that return Precondition
    Modifier and Type | Method and Description
    --- | ---
    `Precondition[]` | Capability.`getPreconditions()` Retrieves the preconditions that must be satisfied in order for the Resource to begin processing.

    Methods in org.apache.uima.resource.metadata with parameters of type Precondition
    Modifier and Type | Method and Description
    --- | ---
    `void` | Capability.`setPreconditions(Precondition[] aPreconditions)` Sets the `Precondition`s of this `Capability`.

  - ### Uses of Precondition in org.apache.uima.resource.metadata.impl

    Classes in org.apache.uima.resource.metadata.impl that implement Precondition
    Modifier and Type | Class and Description
    --- | ---
    `class` | `LanguagePrecondition_impl` Precondition that tests language of the document.
    `class` | `MimeTypePrecondition_impl` Precondition that tests the MIME type of the Entity's content.
    `class` | `SimplePrecondition_impl` Reference implementation of `SimplePrecondition`.

    Methods in org.apache.uima.resource.metadata.impl that return Precondition
    Modifier and Type | Method and Description
    --- | ---
    `Precondition[]` | Capability_impl.`getPreconditions()`

    Methods in org.apache.uima.resource.metadata.impl with parameters of type Precondition
    Modifier and Type | Method and Description
    --- | ---
    `void` | Capability_impl.`setPreconditions(Precondition[] aPreconditions)`

Copyright © 2006–2021 The Apache Software Foundation. All rights reserved.