1 /*
2 * Licensed to the Apache Software Foundation (ASF) under one
3 * or more contributor license agreements. See the NOTICE file
4 * distributed with this work for additional information
5 * regarding copyright ownership. The ASF licenses this file
6 * to you under the Apache License, Version 2.0 (the
7 * "License"); you may not use this file except in compliance
8 * with the License. You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing,
13 * software distributed under the License is distributed on an
14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 * KIND, either express or implied. See the License for the
16 * specific language governing permissions and limitations
17 * under the License.
18 */
19 package org.apache.maven.plugin.plugin.report_old;
20
21 import java.util.Properties;
22
23 /**
24 * Plugin requirements.
25 *
26 * @deprecated will be removed in the next major version
27 */
28 @Deprecated
29 public class Requirements {
30 /**
31 * The minimum version of Maven to run this plugin.
32 */
33 private String maven;
34
35 /**
36 * The minimum version of the JDK to run this plugin.
37 */
38 private String jdk;
39
40 /**
41 * The minimum memory needed to run this plugin.
42 */
43 private String memory;
44
45 /**
46 * The minimum diskSpace needed to run this plugin.
47 */
48 private String diskSpace;
49
50 /**
51 * Field others.
52 */
53 private java.util.Properties others;
54
55 public String getMaven() {
56 return maven;
57 }
58
59 public String getJdk() {
60 return jdk;
61 }
62
63 public String getMemory() {
64 return memory;
65 }
66
67 public String getDiskSpace() {
68 return diskSpace;
69 }
70
71 public Properties getOthers() {
72 return others;
73 }
74
75 @Override
76 public String toString() {
77 final StringBuilder sb = new StringBuilder("Requirements{");
78 sb.append("maven='").append(maven).append('\'');
79 sb.append(", jdk='").append(jdk).append('\'');
80 sb.append(", memory='").append(memory).append('\'');
81 sb.append(", diskSpace='").append(diskSpace).append('\'');
82 sb.append(", others=").append(others);
83 sb.append('}');
84 return sb.toString();
85 }
86 }