|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.pmd.util.model.AnnotationContainer
hudson.plugins.pmd.util.model.WorkspaceFile
public class WorkspaceFile
A serializable Java Bean class representing a file in the Hudson workspace.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class hudson.plugins.pmd.util.model.AnnotationContainer |
|---|
AnnotationContainer.Hierarchy |
| Constructor Summary | |
|---|---|
WorkspaceFile(java.lang.String fileName)
Creates a new instance of WorkspaceFile. |
|
| Method Summary | |
|---|---|
int |
compareTo(AnnotationContainer other)
|
java.lang.String |
getShortName()
Returns a readable name of this workspace file without path prefix. |
java.lang.String |
getTempName()
Returns a file name for a temporary file that will hold the contents of the source. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WorkspaceFile(java.lang.String fileName)
WorkspaceFile.
fileName - absolute path of this file| Method Detail |
|---|
public java.lang.String getShortName()
public java.lang.String getTempName()
public int compareTo(AnnotationContainer other)
compareTo in interface java.lang.Comparable<AnnotationContainer>compareTo in class AnnotationContainer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||