001/* 002 * Copyright 2016 Anyware Services 003 * 004 * Licensed under the Apache License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.apache.org/licenses/LICENSE-2.0 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016package org.ametys.plugins.extraction; 017 018/** 019 * Constants related to extraction. 020 */ 021public interface ExtractionConstants 022{ 023 /** Path of the base directory for extraction files */ 024 public static final String BASE_DIR = "context://WEB-INF/param/extraction/"; 025 026 /** Plugin name to use for I18nizable texts */ 027 public static final String PLUGIN_NAME = "plugin.extraction"; 028 029 /** Path of the directory containing definition files */ 030 public static final String DEFINITIONS_DIR = BASE_DIR + "definitions/"; 031 032 /** Path of the directory containing stylesheets */ 033 public static final String XSLT_DIR = BASE_DIR + "stylesheets/"; 034 035 /** Path of the directory containing pipelines definitions */ 036 public static final String PIPELINES_DIR = BASE_DIR + "config/"; 037 038 /** query component tag */ 039 public static final String QUERY_COMPONENT_TAG = "query"; 040 041 /** thesaurus component tag */ 042 public static final String THESAURUS_COMPONENT_TAG = "thesaurus"; 043 044 /** count component tag */ 045 public static final String COUNT_COMPONENT_TAG = "count"; 046 047 /** mapping query component tag */ 048 public static final String MAPPING_QUERY_COMPONENT_TAG = "mapping-query"; 049 050 /** clauses variables tag */ 051 public static final String CLAUSES_VARIABLES_TAG = "clauses-variables"; 052 053 /** optinal columns tag */ 054 public static final String OPTIONAL_COLUMNS_TAG = "optional-columns"; 055 056 /** delimiter used in dialog inputs for string collections */ 057 public static final String STRING_COLLECTIONS_INPUT_DELIMITER = ","; 058 059}