hudson.plugins.dry.parser.cpd
Class SourceFile

java.lang.Object
  extended by hudson.plugins.dry.parser.cpd.SourceFile

public class SourceFile
extends java.lang.Object

Java Bean class for a file of the PMD CPD format.

Author:
Ulli Hafner

Constructor Summary
SourceFile()
           
 
Method Summary
 int getLine()
          Returns the line of the duplication.
 java.lang.String getPath()
          Returns the path of this file.
 void setLine(int line)
          Sets the line of the duplication to the specified value.
 void setPath(java.lang.String path)
          Sets the path of this file to the specified value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourceFile

public SourceFile()
Method Detail

getPath

public java.lang.String getPath()
Returns the path of this file.

Returns:
the path of this file

setPath

public void setPath(java.lang.String path)
Sets the path of this file to the specified value.

Parameters:
path - the value to set

getLine

public int getLine()
Returns the line of the duplication.

Returns:
the line of the duplication

setLine

public void setLine(int line)
Sets the line of the duplication to the specified value.

Parameters:
line - the value to set


Copyright © 2010. All Rights Reserved.