ArchiveEsitoImportDetailConfigurazione.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.protocol.sdk.archive;

  21. import org.openspcoop2.protocol.sdk.constants.ArchiveStatoImport;

  22. /**
  23.  *  ArchiveEsitoImportDetailConfigurazione
  24.  *
  25.  * @author Poli Andrea (apoli@link.it)
  26.  * @author $Author$
  27.  * @version $Rev$, $Date$
  28.  */
  29. public class ArchiveEsitoImportDetailConfigurazione<T> {

  30.     private T archiveObject;
  31.     private ArchiveStatoImport state;
  32.     private String stateDetail;
  33.     private Throwable exception;
  34.    
  35.     public ArchiveEsitoImportDetailConfigurazione(T archiveObject){
  36.         this.archiveObject = archiveObject;
  37.     }
  38.    
  39.     public T getArchiveObject() {
  40.         return this.archiveObject;
  41.     }
  42.     public void setArchiveObject(T archiveObject) {
  43.         this.archiveObject = archiveObject;
  44.     }
  45.     public ArchiveStatoImport getState() {
  46.         return this.state;
  47.     }
  48.     public void setState(ArchiveStatoImport state) {
  49.         this.state = state;
  50.     }
  51.     public Throwable getException() {
  52.         return this.exception;
  53.     }
  54.     public void setException(Throwable exception) {
  55.         this.exception = exception;
  56.     }
  57.     public String getStateDetail() {
  58.         return this.stateDetail;
  59.     }
  60.     public void setStateDetail(String stateDetail) {
  61.         this.stateDetail = stateDetail;
  62.     }
  63.    
  64. }