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

org.apache.maven.plugin.assembly.model.UnpackOptions Maven / Gradle / Ivy

Go to download

A Maven plugin to create archives of your project's sources, classes, dependencies etc. from flexible assembly descriptors.

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

package org.apache.maven.plugin.assembly.model;

/**
 * 
 *       Specifies options for including/excluding/filtering items
 * extracted from an archive. (Since 2.2)
 *       .
 * 
 * @version $Revision$ $Date$
 */
@SuppressWarnings( "all" )
public class UnpackOptions
    implements java.io.Serializable
{

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

    /**
     * Field includes.
     */
    private java.util.List includes;

    /**
     * Field excludes.
     */
    private java.util.List excludes;

    /**
     * 
     *           Whether to filter symbols in the files as they are
     * unpacked from the archive, using
     *           properties from the build configuration. (Since
     * 2.2)
     *           .
     */
    private boolean filtered = false;

    /**
     * 
     *             
     *             Sets the line-endings of the files. (Since 2.2)
     *             Valid values:
     *             
    *
  • "keep" - Preserve all line * endings
  • *
  • "unix" - Use Unix-style line * endings
  • *
  • "lf" - Use a single line-feed line * endings
  • *
  • "dos" - Use DOS-style line * endings
  • *
  • "crlf" - Use Carraige-return, * line-feed line endings
  • *
* * */ private String lineEnding; /** * * Whether standard exclusion patterns, such as * those matching CVS and Subversion * metadata files, should be used when calculating * the files affected by this set. * For backward compatibility, the default value is * true. (Since 2.2) * . */ private boolean useDefaultExcludes = true; //-----------/ //- Methods -/ //-----------/ /** * Method addExclude. * * @param string */ public void addExclude( String string ) { getExcludes().add( string ); } //-- void addExclude( String ) /** * Method addInclude. * * @param string */ public void addInclude( String string ) { getIncludes().add( string ); } //-- void addInclude( String ) /** * Method getExcludes. * * @return List */ public java.util.List getExcludes() { if ( this.excludes == null ) { this.excludes = new java.util.ArrayList(); } return this.excludes; } //-- java.util.List getExcludes() /** * Method getIncludes. * * @return List */ public java.util.List getIncludes() { if ( this.includes == null ) { this.includes = new java.util.ArrayList(); } return this.includes; } //-- java.util.List getIncludes() /** * Get sets the line-endings of the files. (Since 2.2) * Valid values: *
    *
  • "keep" - Preserve all line * endings
  • *
  • "unix" - Use Unix-style line * endings
  • *
  • "lf" - Use a single line-feed line * endings
  • *
  • "dos" - Use DOS-style line * endings
  • *
  • "crlf" - Use Carraige-return, * line-feed line endings
  • *
* * @return String */ public String getLineEnding() { return this.lineEnding; } //-- String getLineEnding() /** * Get whether to filter symbols in the files as they are * unpacked from the archive, using * properties from the build configuration. (Since * 2.2). * * @return boolean */ public boolean isFiltered() { return this.filtered; } //-- boolean isFiltered() /** * Get whether standard exclusion patterns, such as those * matching CVS and Subversion * metadata files, should be used when calculating * the files affected by this set. * For backward compatibility, the default value is * true. (Since 2.2). * * @return boolean */ public boolean isUseDefaultExcludes() { return this.useDefaultExcludes; } //-- boolean isUseDefaultExcludes() /** * Method removeExclude. * * @param string */ public void removeExclude( String string ) { getExcludes().remove( string ); } //-- void removeExclude( String ) /** * Method removeInclude. * * @param string */ public void removeInclude( String string ) { getIncludes().remove( string ); } //-- void removeInclude( String ) /** * Set set of file and/or directory patterns for matching items * to be excluded from an archive as it is unpacked. * Each item is specified as * <exclude>some/path</exclude> (Since 2.2). * * @param excludes */ public void setExcludes( java.util.List excludes ) { this.excludes = excludes; } //-- void setExcludes( java.util.List ) /** * Set whether to filter symbols in the files as they are * unpacked from the archive, using * properties from the build configuration. (Since * 2.2). * * @param filtered */ public void setFiltered( boolean filtered ) { this.filtered = filtered; } //-- void setFiltered( boolean ) /** * Set set of file and/or directory patterns for matching items * to be included from an archive as it is unpacked. * Each item is specified as * <include>some/path</include> (Since 2.2). * * @param includes */ public void setIncludes( java.util.List includes ) { this.includes = includes; } //-- void setIncludes( java.util.List ) /** * Set sets the line-endings of the files. (Since 2.2) * Valid values: *
    *
  • "keep" - Preserve all line * endings
  • *
  • "unix" - Use Unix-style line * endings
  • *
  • "lf" - Use a single line-feed line * endings
  • *
  • "dos" - Use DOS-style line * endings
  • *
  • "crlf" - Use Carraige-return, * line-feed line endings
  • *
* * @param lineEnding */ public void setLineEnding( String lineEnding ) { this.lineEnding = lineEnding; } //-- void setLineEnding( String ) /** * Set whether standard exclusion patterns, such as those * matching CVS and Subversion * metadata files, should be used when calculating * the files affected by this set. * For backward compatibility, the default value is * true. (Since 2.2). * * @param useDefaultExcludes */ public void setUseDefaultExcludes( boolean useDefaultExcludes ) { this.useDefaultExcludes = useDefaultExcludes; } //-- void setUseDefaultExcludes( boolean ) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy