Klasse Duplication
java.lang.Object
org.apache.maven.plugins.pmd.model.Duplication
- Alle implementierten Schnittstellen:
Serializable
Class Duplication.
- Version:
- $Revision$ $Date$
- Siehe auch:
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
Method addFile.Get the codefragment field.getFiles()
Method getFiles.int
getLines()
Get the lines field.int
Get the tokens field.void
removeFile
(CpdFile cpdFile) Method removeFile.void
setCodefragment
(String codefragment) Set the codefragment field.void
Set the files field.void
setLines
(int lines) Set the lines field.void
setTokens
(int tokens) Set the tokens field.
-
Konstruktordetails
-
Duplication
public Duplication()
-
-
Methodendetails
-
addFile
Method addFile.- Parameter:
cpdFile
- a cpdFile object.
-
getCodefragment
Get the codefragment field.- Gibt zurück:
- String
-
getFiles
Method getFiles.- Gibt zurück:
- List
-
getLines
public int getLines()Get the lines field.- Gibt zurück:
- int
-
getTokens
public int getTokens()Get the tokens field.- Gibt zurück:
- int
-
removeFile
Method removeFile.- Parameter:
cpdFile
- a cpdFile object.
-
setCodefragment
Set the codefragment field.- Parameter:
codefragment
- a codefragment object.
-
setFiles
Set the files field.- Parameter:
files
- a files object.
-
setLines
public void setLines(int lines) Set the lines field.- Parameter:
lines
- a lines object.
-
setTokens
public void setTokens(int tokens) Set the tokens field.- Parameter:
tokens
- a tokens object.
-