Costanti.java

  1. /*
  2.  * GovWay - A customizable API Gateway
  3.  * https://govway.org
  4.  *
  5.  * Copyright (c) 2005-2025 Link.it srl (https://link.it).
  6.  *
  7.  * This program is free software: you can redistribute it and/or modify
  8.  * it under the terms of the GNU General Public License version 3, as published by
  9.  * the Free Software Foundation.
  10.  *
  11.  * This program is distributed in the hope that it will be useful,
  12.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.  * GNU General Public License for more details.
  15.  *
  16.  * You should have received a copy of the GNU General Public License
  17.  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  18.  *
  19.  */
  20. package org.openspcoop2.pdd.core.behaviour.conditional;

  21. /**
  22.  * Costanti
  23.  *
  24.  * @author Andrea Poli (apoli@link.it)
  25.  * @author $Author$
  26.  * @version $Rev$, $Date$
  27.  */
  28. public class Costanti  {
  29.    
  30.     public static final String CONDITIONAL_ENABLED = "c_enabled"; // true/false
  31.    
  32.     public static final String CONDITIONAL_BY_FILTER = "c_by_filter"; // true/false
  33.    
  34.     public static final String CONDITIONAL_TIPO_SELETTORE = "c_selettore";
  35.     public static final String CONDITIONAL_PATTERN = "c_pattern";
  36.     public static final String CONDITIONAL_PREFIX = "c_prefix";
  37.     public static final String CONDITIONAL_SUFFIX = "c_suffix";
  38.    
  39.     public static final String CONDITIONAL_RULE = "c_rule_";
  40.     public static final String CONDITIONAL_RULE_NAME = "_name";
  41.     public static final String CONDITIONAL_RULE_PATTERN_OPERAZIONE = "pattern_operazione";
  42.     public static final String CONDITIONAL_RULE_STATIC_INFO = "static_info";
  43.     // Esempi:
  44.     /*
  45.      * c_rule_1_name=Prova Regola 1
  46.      * c_rule_1_c_by_filter=true
  47.      * c_rule_1_pattern_operazione=deleteStato
  48.      *
  49.      * c_rule_2_name=Prova Regola 2
  50.      * c_rule_2_c_by_filter=false
  51.      * c_rule_2_pattern_operazione=^(?:azione1|get\.azione2)$
  52.      * */
  53.    
  54.     public static final String CONDITIONAL_ABORT_TRANSACTION = "c_abort"; // true/false
  55.     public static final String CONDITIONAL_EMIT_DIAGNOSTIC_INFO = "c_diag_info"; // true/false
  56.     public static final String CONDITIONAL_EMIT_DIAGNOSTIC_ERROR = "c_diag_error"; // true/false
  57.     public static final String CONDITIONAL_NOME_CONNETTORE = "c_connettore";
  58.    
  59.     public static final String CONDITIONAL_NOME_CONNETTORE_VALORE_NESSUNO = "##c_connettore_nessuno";
  60.    
  61.     public static final String CONDITIONAL_CONDIZIONE_NON_IDENTIFICATA = "c_selector_not_found_";
  62.     public static final String CONDITIONAL_NESSUN_CONNETTORE_TROVATO = "c_connector_not_found_";
  63.    
  64.    
  65. }