io.takari.builder.internal.ResourceRoot Maven / Gradle / Ivy
package io.takari.builder.internal;
import java.io.Serializable;
import java.util.List;
import io.takari.builder.ResourceType;
@SuppressWarnings("serial")
public class ResourceRoot implements Serializable {
// no serialVersionUID, want deserialization to fail if state format changes
private final String location;
private final ResourceType resourceType;
private final List includes;
private final List excludes;
public ResourceRoot(String location, ResourceType resourceType, List includes,
List excludes) {
this.location = location;
this.resourceType = resourceType;
this.includes = includes;
this.excludes = excludes;
}
public String getLocation() {
return location.toString();
}
public ResourceType getResourceType() {
return this.resourceType;
}
public List getIncludes() {
return this.includes;
}
public List getExcludes() {
return this.excludes;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy