org.apache.maven.plugin.pmd.model
Class Duplication

java.lang.Object
  extended by org.apache.maven.plugin.pmd.model.Duplication
All Implemented Interfaces:
Serializable

public class Duplication
extends Object
implements Serializable

Class Duplication.

Version:
$Revision: 901148 $ $Date: 2014-03-11 20:12:51 +0000 (Tue, 11 Mar 2014) $
See Also:
Serialized Form

Constructor Summary
Duplication()
           
 
Method Summary
 void addFile(CpdFile cpdFile)
          Method addFile.
 String getCodefragment()
          Get the codefragment field.
 List<CpdFile> getFiles()
          Method getFiles.
 int getLines()
          Get the lines field.
 int getTokens()
          Get the tokens field.
 void removeFile(CpdFile cpdFile)
          Method removeFile.
 void setCodefragment(String codefragment)
          Set the codefragment field.
 void setFiles(List<CpdFile> files)
          Set the files field.
 void setLines(int lines)
          Set the lines field.
 void setTokens(int tokens)
          Set the tokens field.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Duplication

public Duplication()
Method Detail

addFile

public void addFile(CpdFile cpdFile)
Method addFile.

Parameters:
cpdFile -

getCodefragment

public String getCodefragment()
Get the codefragment field.

Returns:
String

getFiles

public List<CpdFile> getFiles()
Method getFiles.

Returns:
List

getLines

public int getLines()
Get the lines field.

Returns:
int

getTokens

public int getTokens()
Get the tokens field.

Returns:
int

removeFile

public void removeFile(CpdFile cpdFile)
Method removeFile.

Parameters:
cpdFile -

setCodefragment

public void setCodefragment(String codefragment)
Set the codefragment field.

Parameters:
codefragment -

setFiles

public void setFiles(List<CpdFile> files)
Set the files field.

Parameters:
files -

setLines

public void setLines(int lines)
Set the lines field.

Parameters:
lines -

setTokens

public void setTokens(int tokens)
Set the tokens field.

Parameters:
tokens -


Copyright © 2005–2014 The Apache Software Foundation. All rights reserved.