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