1 /* 2 * (C) Copyright 2006-2014 Nuxeo SA (http://nuxeo.com/) and contributors. 3 * 4 * All rights reserved. This program and the accompanying materials 5 * are made available under the terms of the GNU Lesser General Public License 6 * (LGPL) version 2.1 which accompanies this distribution, and is available at 7 * http://www.gnu.org/licenses/lgpl-2.1.html 8 * 9 * This library is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * Lesser General Public License for more details. 13 * 14 * Contributors: 15 * bstefanescu 16 */ 17 package org.nuxeo.build.ant.artifact; 18 19 import org.apache.tools.ant.types.DataType; 20 import org.nuxeo.build.maven.filter.OrFilter; 21 22 /** 23 * TODO NXBT-258 24 */ 25 public class Includes extends DataType { 26 27 private OrFilter filter = new OrFilter(); 28 29 public OrFilter getFilter() { 30 return filter; 31 } 32 33 public void addArtifact(ArtifactPattern f) { 34 filter.addFilter(f.getFilter()); 35 } 36 37 }