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

com.lewisd.maven.lint.model.ObjectWithPath Maven / Gradle / Ivy

package com.lewisd.maven.lint.model;

import org.apache.maven.project.MavenProject;

public class ObjectWithPath {

    private final T object;
    private final String path;
    private final MavenProject project;

    public ObjectWithPath(final T object, final MavenProject project, final String path) {
        if (path == null) {
            throw new IllegalArgumentException("path cannot be null");
        }
        this.object = object;
        this.project = project;
        this.path = path;
    }

    public T getObject() {
        return object;
    }

    public MavenProject getProject() {
        return project;
    }

    public String getPath() {
        return path;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy