All Downloads are FREE. Search and download functionalities are using the official Maven repository.

shaded.org.apache.maven.model.FileSet Maven / Gradle / Ivy

There is a newer version: 4.1.2
Show newest version
// =================== DO NOT EDIT THIS FILE ====================
// Generated by Modello 1.9.1,
// any modifications will be overwritten.
// ==============================================================

package shaded.shaded.org.apache.maven.model;

/**
 * A PatternSet for files.
 * 
 * @version $Revision$ $Date$
 */
@SuppressWarnings( "all" )
public class FileSet
    extends PatternSet
    implements java.io.Serializable, java.lang.Cloneable
{

      //--------------------------/
     //- Class/Member Variables -/
    //--------------------------/

    /**
     * Describe the directory where the resources are stored. The
     * path is relative
     *             to the POM.
     */
    private String directory;


      //-----------/
     //- Methods -/
    //-----------/

    /**
     * Method clone.
     * 
     * @return FileSet
     */
    public FileSet clone()
    {
        try
        {
            FileSet copy = (FileSet) super.clone();

            return copy;
        }
        catch ( java.lang.Exception ex )
        {
            throw (java.lang.RuntimeException) new java.lang.UnsupportedOperationException( getClass().getName()
                + " does not support clone()" ).initCause( ex );
        }
    } //-- FileSet clone()

    /**
     * Get describe the directory where the resources are stored.
     * The path is relative
     *             to the POM.
     * 
     * @return String
     */
    public String getDirectory()
    {
        return this.directory;
    } //-- String getDirectory()

    /**
     * Set describe the directory where the resources are stored.
     * The path is relative
     *             to the POM.
     * 
     * @param directory
     */
    public void setDirectory( String directory )
    {
        this.directory = directory;
    } //-- void setDirectory( String )

    
            
    /**
     * @see java.lang.Object#toString()
     */
    public String toString()
    {
        return "FileSet {directory: " + getDirectory() + ", " + super.toString() + "}";
    }
            
          
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy