hudson.plugins.tasks.util.model
Class WorkspaceFile

java.lang.Object
  extended by hudson.plugins.tasks.util.model.AnnotationContainer
      extended by hudson.plugins.tasks.util.model.WorkspaceFile
All Implemented Interfaces:
AnnotationProvider, java.io.Serializable

public class WorkspaceFile
extends AnnotationContainer

A serializable Java Bean class representing a file in the Hudson workspace.

Author:
Ulli Hafner
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.plugins.tasks.util.model.AnnotationContainer
AnnotationContainer.Hierarchy
 
Constructor Summary
WorkspaceFile(java.lang.String fileName)
          Creates a new instance of WorkspaceFile.
 
Method Summary
 java.lang.String getShortName()
          Returns a readable name of this workspace file without path prefix.
 
Methods inherited from class hudson.plugins.tasks.util.model.AnnotationContainer
addAnnotation, addAnnotations, addAnnotations, containsCategory, containsFile, containsModule, containsPackage, containsType, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAnnotations, getCategories, getCategory, getContainer, getFile, getFile, getFiles, getHighAnnotations, getHighPriority, getLowAnnotations, getLowPriority, getModule, getModules, getName, getNormalAnnotations, getNormalPriority, getNumberOfAnnotations, getNumberOfAnnotations, getNumberOfAnnotations, getPackage, getPackageCategoryName, getPackages, getToolTip, getType, getTypes, hasAnnotations, hasAnnotations, hasAnnotations, hasNoAnnotations, hasNoAnnotations, hasNoAnnotations, rebuildMappings, setHierarchy, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkspaceFile

public WorkspaceFile(java.lang.String fileName)
Creates a new instance of WorkspaceFile.

Parameters:
fileName - absolute path of this file
Method Detail

getShortName

public java.lang.String getShortName()
Returns a readable name of this workspace file without path prefix.

Returns:
a readable name of this workspace file.


Copyright © 2008. All Rights Reserved.