1 /* 2 Copyright (C) 2020 - 2022 Alexander Kapitman 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15 */ 16 17 package ru.akman.maven.plugins.jlink; 18 19 import java.io.File; 20 import java.util.Map; 21 22 /** 23 * Release info. 24 */ 25 public class ReleaseInfo { 26 27 /** 28 * File contains release info. 29 */ 30 private File file; 31 32 /** 33 * Pairs of key and its value used to add release info. 34 */ 35 private Map<String, String> adds; 36 37 /** 38 * Keys used to delete release info. 39 */ 40 private Map<String, String> dels; 41 42 /** 43 * Get file contains release info. 44 * 45 * @return the file contains release info 46 */ 47 public File getFile() { 48 return this.file; 49 } 50 51 /** 52 * Set file contains release info. 53 * 54 * @param file the file contains release info 55 */ 56 public void setFile(final File file) { 57 this.file = file; 58 } 59 60 /** 61 * Get pairs of key and its value used to add release info. 62 * 63 * @return the pairs of key and its value used to add release info 64 */ 65 public Map<String, String> getAdds() { 66 return this.adds; 67 } 68 69 /** 70 * Set pairs of key and its value used to add release info. 71 * 72 * @param adds the pairs of key and its value used to add release info 73 */ 74 public void setAdds(final Map<String, String> adds) { 75 this.adds = adds; 76 } 77 78 /** 79 * Get keys used to delete release info. 80 * 81 * @return the keys used to delete release info 82 */ 83 public Map<String, String> getDels() { 84 return this.dels; 85 } 86 87 /** 88 * Set keys used to delete release info. 89 * 90 * @param dels the keys used to delete release info 91 */ 92 public void setDels(final Map<String, String> dels) { 93 this.dels = dels; 94 } 95 96 }