001 /* 002 =================== DO NOT EDIT THIS FILE ==================== 003 Generated by Modello 1.4.1 on 2013-02-24 03:32:14, 004 any modifications will be overwritten. 005 ============================================================== 006 */ 007 008 package org.apache.maven.model; 009 010 /** 011 * A PatternSet for files. 012 * 013 * @version $Revision$ $Date$ 014 */ 015 @SuppressWarnings( "all" ) 016 public class FileSet 017 extends PatternSet 018 implements java.io.Serializable, java.lang.Cloneable 019 { 020 021 //--------------------------/ 022 //- Class/Member Variables -/ 023 //--------------------------/ 024 025 /** 026 * Describe the directory where the resources are stored. The 027 * path is relative 028 * to the POM. 029 */ 030 private String directory; 031 032 033 //-----------/ 034 //- Methods -/ 035 //-----------/ 036 037 /** 038 * Method clone. 039 * 040 * @return FileSet 041 */ 042 public FileSet clone() 043 { 044 try 045 { 046 FileSet copy = (FileSet) super.clone(); 047 048 return copy; 049 } 050 catch ( java.lang.Exception ex ) 051 { 052 throw (java.lang.RuntimeException) new java.lang.UnsupportedOperationException( getClass().getName() 053 + " does not support clone()" ).initCause( ex ); 054 } 055 } //-- FileSet clone() 056 057 /** 058 * Get describe the directory where the resources are stored. 059 * The path is relative 060 * to the POM. 061 * 062 * @return String 063 */ 064 public String getDirectory() 065 { 066 return this.directory; 067 } //-- String getDirectory() 068 069 /** 070 * Set describe the directory where the resources are stored. 071 * The path is relative 072 * to the POM. 073 * 074 * @param directory 075 */ 076 public void setDirectory( String directory ) 077 { 078 this.directory = directory; 079 } //-- void setDirectory( String ) 080 081 082 083 /** 084 * @see java.lang.Object#toString() 085 */ 086 public String toString() 087 { 088 return "FileSet {directory: " + getDirectory() + ", " + super.toString() + "}"; 089 } 090 091 092 }