1   /*
2    * Logback: the reliable, generic, fast and flexible logging framework.
3    * Copyright (C) 1999-2024, QOS.ch. All rights reserved.
4    *
5    * This program and the accompanying materials are dual-licensed under
6    * either the terms of the Eclipse Public License v1.0 as published by
7    * the Eclipse Foundation
8    *
9    *   or (per the licensee's choosing)
10   *
11   * under the terms of the GNU Lesser General Public License version 2.1
12   * as published by the Free Software Foundation.
13   */
14  
15  package ch.qos.logback.core.model;
16  
17  
18  public class ResourceModel  extends Model {
19  
20      private static final long serialVersionUID = 2185210901733958800L;
21  
22      String file;
23      String url;
24      String resource;
25      String optional;
26  
27      public String getOptional() {
28          return optional;
29      }
30  
31      public void setOptional(String optional) {
32          this.optional = optional;
33      }
34  
35      public String getFile() {
36          return file;
37      }
38  
39      public void setFile(String file) {
40          this.file = file;
41      }
42  
43      public String getUrl() {
44          return url;
45      }
46  
47      public void setUrl(String url) {
48          this.url = url;
49      }
50  
51      public String getResource() {
52          return resource;
53      }
54  
55      public void setResource(String resource) {
56          this.resource = resource;
57      }
58  
59  }