FileRWXConfig.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.utils.resources;

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

  29.     public FileRWXConfig() {}
  30.     public FileRWXConfig(Boolean readable, Boolean readableOwnerOnly,
  31.                Boolean writable, Boolean writableOwnerOnly,
  32.                Boolean executable, Boolean executableOwnerOnly) {
  33.         this.readable = readable;
  34.         this.readableOwnerOnly = readableOwnerOnly;
  35.         this.writable = writable;
  36.         this.writableOwnerOnly = writableOwnerOnly;
  37.         this.executable = executable;
  38.         this.executableOwnerOnly = executableOwnerOnly;
  39.     }
  40.    
  41.     private Boolean readable;
  42.     private Boolean readableOwnerOnly;
  43.     private Boolean writable;
  44.     private Boolean writableOwnerOnly;
  45.     private Boolean executable;
  46.     private Boolean executableOwnerOnly;
  47.    
  48.     public Boolean getReadable() {
  49.         return this.readable;
  50.     }
  51.     public void setReadable(Boolean readable) {
  52.         this.readable = readable;
  53.     }
  54.     public Boolean getReadableOwnerOnly() {
  55.         return this.readableOwnerOnly;
  56.     }
  57.     public void setReadableOwnerOnly(Boolean readableOwnerOnly) {
  58.         this.readableOwnerOnly = readableOwnerOnly;
  59.     }
  60.     public Boolean getWritable() {
  61.         return this.writable;
  62.     }
  63.     public void setWritable(Boolean writable) {
  64.         this.writable = writable;
  65.     }
  66.     public Boolean getWritableOwnerOnly() {
  67.         return this.writableOwnerOnly;
  68.     }
  69.     public void setWritableOwnerOnly(Boolean writableOwnerOnly) {
  70.         this.writableOwnerOnly = writableOwnerOnly;
  71.     }
  72.     public Boolean getExecutable() {
  73.         return this.executable;
  74.     }
  75.     public void setExecutable(Boolean executable) {
  76.         this.executable = executable;
  77.     }
  78.     public Boolean getExecutableOwnerOnly() {
  79.         return this.executableOwnerOnly;
  80.     }
  81.     public void setExecutableOwnerOnly(Boolean executableOwnerOnly) {
  82.         this.executableOwnerOnly = executableOwnerOnly;
  83.     }
  84.    
  85. }