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

com.github.jasonmfehr.combiner.mojo.InputResources Maven / Gradle / Ivy

package com.github.jasonmfehr.combiner.mojo;

import java.util.List;

import org.apache.maven.plugins.annotations.Parameter;

public class InputResources {

	/**
	 * list of patterns that will determine what resources are put into 
	 * the combiner pipeline
	 */
	@Parameter(required=true)
	private List includes;
	
	/**
	 * list of patterns that will determine what resources are not put 
	 * into the combiner pipeline
	 */
	@Parameter
	private List excludes;
	
	public List getIncludes() {
		return includes;
	}
	public void setIncludes(final List includes) {
		this.includes = includes;
	}
	
	public List getExcludes() {
		return excludes;
	}
	public void setExcludes(final List excludes) {
		this.excludes = excludes;
	}
	@Override
	public String toString() {
		final StringBuilder sb = new StringBuilder();
		
		sb.append("[includes=");
		if(this.includes != null){
			sb.append(this.includes.toString());
		}else{
			sb.append("null");
		}
		
		sb.append(", excludes=");
		if(this.excludes != null){
			sb.append(this.excludes.toString());
		}else{
			sb.append("null");
		}
		
		return sb.append("]").toString();
	}
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy