23 |
brianR |
1 |
/*
|
|
|
2 |
* Copyright 2010 Brian Rosenberger (Brutex Network)
|
|
|
3 |
*
|
|
|
4 |
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
5 |
* you may not use this file except in compliance with the License.
|
|
|
6 |
* You may obtain a copy of the License at
|
|
|
7 |
*
|
|
|
8 |
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
9 |
*
|
|
|
10 |
* Unless required by applicable law or agreed to in writing, software
|
|
|
11 |
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
12 |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
13 |
* See the License for the specific language governing permissions and
|
|
|
14 |
* limitations under the License.
|
|
|
15 |
*/
|
82 |
brianR |
16 |
package net.brutex.xservices.types.ant;
|
23 |
brianR |
17 |
|
|
|
18 |
import java.util.List;
|
|
|
19 |
import javax.xml.bind.annotation.XmlElement;
|
|
|
20 |
|
|
|
21 |
/**
|
|
|
22 |
*
|
|
|
23 |
* @author Brian Rosenberger
|
|
|
24 |
*/
|
|
|
25 |
|
|
|
26 |
public class PatternSetType {
|
|
|
27 |
|
|
|
28 |
public static final String XML_NAME = "filter";
|
|
|
29 |
|
|
|
30 |
@XmlElement(required=false, nillable=false, defaultValue="**/*")
|
|
|
31 |
public List<PatternElement> include;
|
|
|
32 |
|
|
|
33 |
@XmlElement(required=false, nillable=false)
|
|
|
34 |
public List<PatternElement> exclude;
|
|
|
35 |
|
|
|
36 |
@XmlElement(required=false, nillable=true)
|
|
|
37 |
public SelectorType selector;
|
|
|
38 |
|
|
|
39 |
public PatternSetType() {
|
|
|
40 |
}
|
|
|
41 |
}
|