shaded.org.apache.maven.model.FileSet Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spring-cloud-contract-shade Show documentation
Show all versions of spring-cloud-contract-shade Show documentation
Spring Cloud Contract Shaded Dependencies
// =================== DO NOT EDIT THIS FILE ====================
// Generated by Modello 1.11,
// 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() + "}";
}
}