/* * Copyright 2011 PrimeFaces Extensions. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * * $Id: ResourcesSet.java 513 2011-12-01 18:58:10Z ovaraksin@googlemail.com $ */ package org.primefaces.extensions.optimizerplugin; import java.io.File; /** * Class representing a resources set. * * @author Oleg Varaksin / last modified by $Author: ovaraksin@googlemail.com $ * @version $Revision: 513 $ * @since 0.1 */ public class ResourcesSet { /** * Input directory. * * @parameter */ private File inputDir; /** * Compilation level. * * @parameter */ private String compilationLevel; /** * Warning level. * * @parameter */ private String warningLevel; /** * Files to be included. Files selectors follow patterns specified in {@link org.codehaus.plexus.util.DirectoryScanner}. * * @parameter */ private String[] includes; /** * Files to be excluded. Files selectors follow patterns specified in {@link org.codehaus.plexus.util.DirectoryScanner}. * * @parameter */ private String[] excludes; /** * Aggregations. * * @parameter */ private Aggregation[] aggregations; public File getInputDir() { return inputDir; } public void setInputDir(final File inputDir) { this.inputDir = inputDir; } public String getCompilationLevel() { return compilationLevel; } public void setCompilationLevel(final String compilationLevel) { this.compilationLevel = compilationLevel; } public String getWarningLevel() { return warningLevel; } public void setWarningLevel(String warningLevel) { this.warningLevel = warningLevel; } public String[] getIncludes() { return includes; } public void setIncludes(final String[] includes) { this.includes = includes; } public String[] getExcludes() { return excludes; } public void setExcludes(final String[] excludes) { this.excludes = excludes; } public Aggregation[] getAggregations() { return aggregations; } public void setAggregations(Aggregation[] aggregations) { this.aggregations = aggregations; } }