001package org.apache.maven.plugin.plugin.report_old; 002 003/* 004 * Licensed to the Apache Software Foundation (ASF) under one 005 * or more contributor license agreements. See the NOTICE file 006 * distributed with this work for additional information 007 * regarding copyright ownership. The ASF licenses this file 008 * to you under the Apache License, Version 2.0 (the 009 * "License"); you may not use this file except in compliance 010 * with the License. You may obtain a copy of the License at 011 * 012 * http://www.apache.org/licenses/LICENSE-2.0 013 * 014 * Unless required by applicable law or agreed to in writing, 015 * software distributed under the License is distributed on an 016 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 017 * KIND, either express or implied. See the License for the 018 * specific language governing permissions and limitations 019 * under the License. 020 */ 021 022import java.util.Properties; 023 024/** 025 * Plugin requirements. 026 * 027 * @deprecated will be removed in the next major version 028 */ 029@Deprecated 030public class Requirements 031{ 032 /** 033 * The minimum version of Maven to run this plugin. 034 */ 035 private String maven; 036 037 /** 038 * The minimum version of the JDK to run this plugin. 039 */ 040 private String jdk; 041 042 /** 043 * The minimum memory needed to run this plugin. 044 */ 045 private String memory; 046 047 /** 048 * The minimum diskSpace needed to run this plugin. 049 */ 050 private String diskSpace; 051 052 /** 053 * Field others. 054 */ 055 private java.util.Properties others; 056 057 public String getMaven() 058 { 059 return maven; 060 } 061 062 public String getJdk() 063 { 064 return jdk; 065 } 066 067 public String getMemory() 068 { 069 return memory; 070 } 071 072 public String getDiskSpace() 073 { 074 return diskSpace; 075 } 076 077 public Properties getOthers() 078 { 079 return others; 080 } 081 082 @Override 083 public String toString() 084 { 085 final StringBuilder sb = new StringBuilder( "Requirements{" ); 086 sb.append( "maven='" ).append( maven ).append( '\'' ); 087 sb.append( ", jdk='" ).append( jdk ).append( '\'' ); 088 sb.append( ", memory='" ).append( memory ).append( '\'' ); 089 sb.append( ", diskSpace='" ).append( diskSpace ).append( '\'' ); 090 sb.append( ", others=" ).append( others ); 091 sb.append( '}' ); 092 return sb.toString(); 093 } 094}