PropertiesSourceConfiguration.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.core.mvc.properties.utils;

  21. import java.util.List;

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

  30.     private String id;
  31.     private String directory;
  32.     private boolean update;
  33.     private List<byte[]> builtIn;
  34.     private boolean updateBuiltIn;
  35.    
  36.    
  37.     public String getId() {
  38.         return this.id;
  39.     }
  40.     public void setId(String id) {
  41.         this.id = id;
  42.     }
  43.     public String getDirectory() {
  44.         return this.directory;
  45.     }
  46.     public void setDirectory(String directory) {
  47.         this.directory = directory;
  48.     }
  49.     public boolean isUpdate() {
  50.         return this.update;
  51.     }
  52.     public void setUpdate(boolean update) {
  53.         this.update = update;
  54.     }
  55.     public List<byte[]> getBuiltIn() {
  56.         return this.builtIn;
  57.     }
  58.     public void setBuiltIn(List<byte[]> builtIn) {
  59.         this.builtIn = builtIn;
  60.     }
  61.     public boolean isUpdateBuiltIn() {
  62.         return this.updateBuiltIn;
  63.     }
  64.     public void setUpdateBuiltIn(boolean updateBuiltIn) {
  65.         this.updateBuiltIn = updateBuiltIn;
  66.     }
  67. }