You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by re...@apache.org on 2022/07/28 10:03:28 UTC

[uima-uimaj] 01/01: Issue #226: Provide SPI interfaces to locate descriptors

This is an automated email from the ASF dual-hosted git repository.

rec pushed a commit to branch feature/226-Provide-SPI-interfaces-to-locate-descriptors
in repository https://gitbox.apache.org/repos/asf/uima-uimaj.git

commit b74a9b16cb9ebe563586f6e29ee2c52be65ded74
Author: Richard Eckart de Castilho <ri...@averbis.com>
AuthorDate: Thu Jul 28 12:01:47 2022 +0200

    Issue #226: Provide SPI interfaces to locate descriptors
    
    - Added TypeSystemDescriptionProvider interface
---
 .../uima/spi/TypeSystemDescriptionProvider.java    | 27 ++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/uimaj-core/src/main/java/org/apache/uima/spi/TypeSystemDescriptionProvider.java b/uimaj-core/src/main/java/org/apache/uima/spi/TypeSystemDescriptionProvider.java
new file mode 100644
index 000000000..0672a66c6
--- /dev/null
+++ b/uimaj-core/src/main/java/org/apache/uima/spi/TypeSystemDescriptionProvider.java
@@ -0,0 +1,27 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.uima.spi;
+
+import java.util.List;
+
+import org.apache.uima.resource.metadata.TypeSystemDescription;
+
+public interface TypeSystemDescriptionProvider {
+  List<TypeSystemDescription> listTypeSystemDescriptions();
+}