1 package org.codehaus.mojo.osxappbundle;
2
3 /*
4 * Copyright 2001-2008 The Codehaus.
5 *
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 */
18
19
20 /**
21 * Object of this class represents a set of file resources
22 * that can be specified by directory and exclude/include patterns.
23 * <p/>
24 * Created date: Jan 19, 2008
25 *
26 * @author Zhenya Nyden
27 */
28 public class FileSet extends org.apache.maven.model.FileSet
29 {
30
31 /**
32 * When false, disables the default excludes.
33 * Default value is true.
34 *
35 * @parameter expression="true"
36 */
37 private boolean useDefaultExcludes;
38
39 /**
40 * Getter for the useDefaultExcludes property.
41 * Returns true if default excludes are going to be added to
42 * the FileSet's list of excludes; false if only user excludes
43 * are going to be used.
44 *
45 * @return Value for useDefaultExcludes property.
46 */
47 public boolean isUseDefaultExcludes()
48 {
49 return useDefaultExcludes;
50 }
51
52 /**
53 * Setter for the useDefaultExcludes property.
54 * Set it to false if default excludes should not be added to the FileSet's
55 * list of excludes. Set it to true if default excludes are also required.
56 *
57 * @param useDefaultExcludes Value for the useDefaultExcludes to set.
58 */
59 public void setUseDefaultExcludes( boolean useDefaultExcludes )
60 {
61 this.useDefaultExcludes = useDefaultExcludes;
62 }
63
64 }