ConfigurazioneGestioneConsegnaNotifiche.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.built_in.multi_deliver;

  21. import java.util.ArrayList;
  22. import java.util.List;

  23. import org.openspcoop2.utils.transport.http.HttpRequestMethod;

  24. /**
  25.  * ConfigurazioneGestoneErrori
  26.  *
  27.  * @author Andrea Poli (apoli@link.it)
  28.  * @author $Author$
  29.  * @version $Rev$, $Date$
  30.  */
  31. public class ConfigurazioneGestioneConsegnaNotifiche  {
  32.    
  33.     private Integer cadenzaRispedizione;
  34.    
  35.     private TipoGestioneNotificaTrasporto gestioneTrasporto2xx;
  36.     private List<Integer> gestioneTrasporto2xx_codes = new ArrayList<Integer>();
  37.     private Integer gestioneTrasporto2xx_leftInterval;
  38.     private Integer gestioneTrasporto2xx_rightInterval;
  39.    
  40.     private TipoGestioneNotificaTrasporto gestioneTrasporto3xx;
  41.     private List<Integer> gestioneTrasporto3xx_codes = new ArrayList<Integer>();
  42.     private Integer gestioneTrasporto3xx_leftInterval;
  43.     private Integer gestioneTrasporto3xx_rightInterval;
  44.    
  45.     private TipoGestioneNotificaTrasporto gestioneTrasporto4xx;
  46.     private List<Integer> gestioneTrasporto4xx_codes = new ArrayList<Integer>();
  47.     private Integer gestioneTrasporto4xx_leftInterval;
  48.     private Integer gestioneTrasporto4xx_rightInterval;
  49.    
  50.     private TipoGestioneNotificaTrasporto gestioneTrasporto5xx;
  51.     private List<Integer> gestioneTrasporto5xx_codes = new ArrayList<Integer>();
  52.     private Integer gestioneTrasporto5xx_leftInterval;
  53.     private Integer gestioneTrasporto5xx_rightInterval;
  54.    
  55.     private TipoGestioneNotificaFault fault;
  56.     private String faultCode;
  57.     private String faultActor;
  58.     private String faultMessage;

  59.     private MessaggioDaNotificare messaggioDaNotificare;
  60.     private boolean injectTransactionSyncContext;
  61.     private HttpRequestMethod httpMethod;

  62.     public Integer getCadenzaRispedizione() {
  63.         return this.cadenzaRispedizione;
  64.     }
  65.     public void setCadenzaRispedizione(Integer cadenzaRispedizione) {
  66.         this.cadenzaRispedizione = cadenzaRispedizione;
  67.     }
  68.     public TipoGestioneNotificaTrasporto getGestioneTrasporto2xx() {
  69.         return this.gestioneTrasporto2xx;
  70.     }
  71.     public void setGestioneTrasporto2xx(TipoGestioneNotificaTrasporto gestioneTrasporto2xx) {
  72.         this.gestioneTrasporto2xx = gestioneTrasporto2xx;
  73.     }
  74.     public List<Integer> getGestioneTrasporto2xx_codes() {
  75.         return this.gestioneTrasporto2xx_codes;
  76.     }
  77.     public void setGestioneTrasporto2xx_codes(List<Integer> gestioneTrasporto2xx_codes) {
  78.         this.gestioneTrasporto2xx_codes = gestioneTrasporto2xx_codes;
  79.     }
  80.     public Integer getGestioneTrasporto2xx_leftInterval() {
  81.         return this.gestioneTrasporto2xx_leftInterval;
  82.     }
  83.     public void setGestioneTrasporto2xx_leftInterval(Integer gestioneTrasporto2xx_leftInterval) {
  84.         this.gestioneTrasporto2xx_leftInterval = gestioneTrasporto2xx_leftInterval;
  85.     }
  86.     public Integer getGestioneTrasporto2xx_rightInterval() {
  87.         return this.gestioneTrasporto2xx_rightInterval;
  88.     }
  89.     public void setGestioneTrasporto2xx_rightInterval(Integer gestioneTrasporto2xx_rightInterval) {
  90.         this.gestioneTrasporto2xx_rightInterval = gestioneTrasporto2xx_rightInterval;
  91.     }
  92.     public TipoGestioneNotificaTrasporto getGestioneTrasporto3xx() {
  93.         return this.gestioneTrasporto3xx;
  94.     }
  95.     public void setGestioneTrasporto3xx(TipoGestioneNotificaTrasporto gestioneTrasporto3xx) {
  96.         this.gestioneTrasporto3xx = gestioneTrasporto3xx;
  97.     }
  98.     public List<Integer> getGestioneTrasporto3xx_codes() {
  99.         return this.gestioneTrasporto3xx_codes;
  100.     }
  101.     public void setGestioneTrasporto3xx_codes(List<Integer> gestioneTrasporto3xx_codes) {
  102.         this.gestioneTrasporto3xx_codes = gestioneTrasporto3xx_codes;
  103.     }
  104.     public Integer getGestioneTrasporto3xx_leftInterval() {
  105.         return this.gestioneTrasporto3xx_leftInterval;
  106.     }
  107.     public void setGestioneTrasporto3xx_leftInterval(Integer gestioneTrasporto3xx_leftInterval) {
  108.         this.gestioneTrasporto3xx_leftInterval = gestioneTrasporto3xx_leftInterval;
  109.     }
  110.     public Integer getGestioneTrasporto3xx_rightInterval() {
  111.         return this.gestioneTrasporto3xx_rightInterval;
  112.     }
  113.     public void setGestioneTrasporto3xx_rightInterval(Integer gestioneTrasporto3xx_rightInterval) {
  114.         this.gestioneTrasporto3xx_rightInterval = gestioneTrasporto3xx_rightInterval;
  115.     }
  116.     public TipoGestioneNotificaTrasporto getGestioneTrasporto4xx() {
  117.         return this.gestioneTrasporto4xx;
  118.     }
  119.     public void setGestioneTrasporto4xx(TipoGestioneNotificaTrasporto gestioneTrasporto4xx) {
  120.         this.gestioneTrasporto4xx = gestioneTrasporto4xx;
  121.     }
  122.     public List<Integer> getGestioneTrasporto4xx_codes() {
  123.         return this.gestioneTrasporto4xx_codes;
  124.     }
  125.     public void setGestioneTrasporto4xx_codes(List<Integer> gestioneTrasporto4xx_codes) {
  126.         this.gestioneTrasporto4xx_codes = gestioneTrasporto4xx_codes;
  127.     }
  128.     public Integer getGestioneTrasporto4xx_leftInterval() {
  129.         return this.gestioneTrasporto4xx_leftInterval;
  130.     }
  131.     public void setGestioneTrasporto4xx_leftInterval(Integer gestioneTrasporto4xx_leftInterval) {
  132.         this.gestioneTrasporto4xx_leftInterval = gestioneTrasporto4xx_leftInterval;
  133.     }
  134.     public Integer getGestioneTrasporto4xx_rightInterval() {
  135.         return this.gestioneTrasporto4xx_rightInterval;
  136.     }
  137.     public void setGestioneTrasporto4xx_rightInterval(Integer gestioneTrasporto4xx_rightInterval) {
  138.         this.gestioneTrasporto4xx_rightInterval = gestioneTrasporto4xx_rightInterval;
  139.     }
  140.     public TipoGestioneNotificaTrasporto getGestioneTrasporto5xx() {
  141.         return this.gestioneTrasporto5xx;
  142.     }
  143.     public void setGestioneTrasporto5xx(TipoGestioneNotificaTrasporto gestioneTrasporto5xx) {
  144.         this.gestioneTrasporto5xx = gestioneTrasporto5xx;
  145.     }
  146.     public List<Integer> getGestioneTrasporto5xx_codes() {
  147.         return this.gestioneTrasporto5xx_codes;
  148.     }
  149.     public void setGestioneTrasporto5xx_codes(List<Integer> gestioneTrasporto5xx_codes) {
  150.         this.gestioneTrasporto5xx_codes = gestioneTrasporto5xx_codes;
  151.     }
  152.     public Integer getGestioneTrasporto5xx_leftInterval() {
  153.         return this.gestioneTrasporto5xx_leftInterval;
  154.     }
  155.     public void setGestioneTrasporto5xx_leftInterval(Integer gestioneTrasporto5xx_leftInterval) {
  156.         this.gestioneTrasporto5xx_leftInterval = gestioneTrasporto5xx_leftInterval;
  157.     }
  158.     public Integer getGestioneTrasporto5xx_rightInterval() {
  159.         return this.gestioneTrasporto5xx_rightInterval;
  160.     }
  161.     public void setGestioneTrasporto5xx_rightInterval(Integer gestioneTrasporto5xx_rightInterval) {
  162.         this.gestioneTrasporto5xx_rightInterval = gestioneTrasporto5xx_rightInterval;
  163.     }
  164.     public TipoGestioneNotificaFault getFault() {
  165.         return this.fault;
  166.     }
  167.     public void setFault(TipoGestioneNotificaFault fault) {
  168.         this.fault = fault;
  169.     }
  170.     public String getFaultCode() {
  171.         return this.faultCode;
  172.     }
  173.     public void setFaultCode(String faultCode) {
  174.         this.faultCode = faultCode;
  175.     }
  176.     public String getFaultActor() {
  177.         return this.faultActor;
  178.     }
  179.     public void setFaultActor(String faultActor) {
  180.         this.faultActor = faultActor;
  181.     }
  182.     public String getFaultMessage() {
  183.         return this.faultMessage;
  184.     }
  185.     public void setFaultMessage(String faultMessage) {
  186.         this.faultMessage = faultMessage;
  187.     }
  188.    
  189.     public MessaggioDaNotificare getMessaggioDaNotificare() {
  190.         return this.messaggioDaNotificare;
  191.     }
  192.     public void setMessaggioDaNotificare(MessaggioDaNotificare messaggioDaNotificare) {
  193.         this.messaggioDaNotificare = messaggioDaNotificare;
  194.     }
  195.    
  196.     public boolean isInjectTransactionSyncContext() {
  197.         return this.injectTransactionSyncContext;
  198.     }
  199.     public void setInjectTransactionSyncContext(boolean injectTransactionSyncContext) {
  200.         this.injectTransactionSyncContext = injectTransactionSyncContext;
  201.     }
  202.    
  203.     public HttpRequestMethod getHttpMethod() {
  204.         return this.httpMethod;
  205.     }
  206.     public void setHttpMethod(HttpRequestMethod httpMethod) {
  207.         this.httpMethod = httpMethod;
  208.     }
  209. }