Costanti.java

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

/**
 * Costanti
 *
 * @author Andrea Poli (apoli@link.it)
 * @author $Author$
 * @version $Rev$, $Date$
 */
public class Costanti  {
	
	public static final String CONDITIONAL_ENABLED = "c_enabled"; // true/false
	
	public static final String CONDITIONAL_BY_FILTER = "c_by_filter"; // true/false
	
	public static final String CONDITIONAL_TIPO_SELETTORE = "c_selettore";
	public static final String CONDITIONAL_PATTERN = "c_pattern";
	public static final String CONDITIONAL_PREFIX = "c_prefix";
	public static final String CONDITIONAL_SUFFIX = "c_suffix";
	
    public static final String CONDITIONAL_RULE = "c_rule_";
	public static final String CONDITIONAL_RULE_NAME = "_name";
	public static final String CONDITIONAL_RULE_PATTERN_OPERAZIONE = "pattern_operazione";
	public static final String CONDITIONAL_RULE_STATIC_INFO = "static_info";
	// Esempi:
	/*
	 * c_rule_1_name=Prova Regola 1
	 * c_rule_1_c_by_filter=true
	 * c_rule_1_pattern_operazione=deleteStato
	 * 
	 * c_rule_2_name=Prova Regola 2
	 * c_rule_2_c_by_filter=false
	 * c_rule_2_pattern_operazione=^(?:azione1|get\.azione2)$
	 * */
	
	public static final String CONDITIONAL_ABORT_TRANSACTION = "c_abort"; // true/false
	public static final String CONDITIONAL_EMIT_DIAGNOSTIC_INFO = "c_diag_info"; // true/false
	public static final String CONDITIONAL_EMIT_DIAGNOSTIC_ERROR = "c_diag_error"; // true/false
	public static final String CONDITIONAL_NOME_CONNETTORE = "c_connettore";
	
	public static final String CONDITIONAL_NOME_CONNETTORE_VALORE_NESSUNO = "##c_connettore_nessuno";
	
	public static final String CONDITIONAL_CONDIZIONE_NON_IDENTIFICATA = "c_selector_not_found_";
	public static final String CONDITIONAL_NESSUN_CONNETTORE_TROVATO = "c_connector_not_found_";
	
	
}