Class FileWrapper
- java.lang.Object
-
- org.jenkinsci.plugins.pipeline.utility.steps.fs.FileWrapper
-
- All Implemented Interfaces:
Serializable
public class FileWrapper extends Object implements Serializable
Contains serializable information about a file name.- Author:
- Robert Sandell <rsandell@cloudbees.com>.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedFileWrapper(FilePath file)protectedFileWrapper(FilePath base, FilePath file)FileWrapper(String name, String path, boolean directory, long length, long lastModified)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)longgetLastModified()longgetLength()StringgetName()StringgetPath()inthashCode()booleanisDirectory()StringtoString()
-
-
-
Constructor Detail
-
FileWrapper
public FileWrapper(@NonNull String name, @NonNull String path, boolean directory, long length, long lastModified)
-
FileWrapper
protected FileWrapper(@NonNull FilePath base, @NonNull FilePath file) throws IOException, InterruptedException- Throws:
IOExceptionInterruptedException
-
FileWrapper
protected FileWrapper(@NonNull FilePath file) throws IOException, InterruptedException- Throws:
IOExceptionInterruptedException
-
-