
org.apache.maven.plugin.pmd.model.CpdFile Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of maven-pmd-plugin Show documentation
Show all versions of maven-pmd-plugin Show documentation
A Maven plugin for the PMD toolkit, that produces a report on both code rule violations and detected copy and paste
fragments,
as well as being able to fail the build based on these metrics.
// =================== DO NOT EDIT THIS FILE ====================
// Generated by Modello 1.8.1,
// any modifications will be overwritten.
// ==============================================================
package org.apache.maven.plugin.pmd.model;
/**
* Class CpdFile.
*
* @version $Revision$ $Date$
*/
@SuppressWarnings( "all" )
public class CpdFile
implements java.io.Serializable
{
//--------------------------/
//- Class/Member Variables -/
//--------------------------/
/**
* Field line.
*/
private int line = 0;
/**
* Field path.
*/
private String path;
//-----------/
//- Methods -/
//-----------/
/**
* Get the line field.
*
* @return int
*/
public int getLine()
{
return this.line;
} //-- int getLine()
/**
* Get the path field.
*
* @return String
*/
public String getPath()
{
return this.path;
} //-- String getPath()
/**
* Set the line field.
*
* @param line
*/
public void setLine( int line )
{
this.line = line;
} //-- void setLine( int )
/**
* Set the path field.
*
* @param path
*/
public void setPath( String path )
{
this.path = path;
} //-- void setPath( String )
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy