Package hudson.model
Class DirectoryBrowserSupport.Path
java.lang.Object
hudson.model.DirectoryBrowserSupport.Path
- All Implemented Interfaces:
Serializable
- Enclosing class:
- DirectoryBrowserSupport
Represents information about one file or folder.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DirectoryBrowserSupport.Path
getHref()
long
long
getSize()
getTitle()
boolean
isFolder()
boolean
-
Constructor Details
-
Path
Deprecated. -
Path
-
-
Method Details
-
isFolder
public boolean isFolder() -
isReadable
public boolean isReadable() -
getHref
-
getTitle
-
getIconName
-
getIconClassName
-
getSize
public long getSize() -
getLastModified
public long getLastModified()- Returns:
- A long value representing the time the file was last modified, measured in milliseconds since the epoch (00:00:00 GMT, January 1, 1970), or 0L if is not possible to obtain the times.
- Since:
- 2.127
-
getLastModifiedAsCalendar
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public Calendar getLastModifiedAsCalendar()- Returns:
- A Calendar representing the time the file was last modified, it lastModified is 0L it will return 00:00:00 GMT, January 1, 1970.
- Since:
- 2.127
-
createNotReadableVersionOf
public static DirectoryBrowserSupport.Path createNotReadableVersionOf(DirectoryBrowserSupport.Path that)
-
Path(String, String, boolean, long, boolean, long)