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 protected
FileWrapper(FilePath file)
protected
FileWrapper(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 boolean
equals(Object o)
long
getLastModified()
long
getLength()
String
getName()
String
getPath()
int
hashCode()
boolean
isDirectory()
String
toString()
-
-
-
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:
IOException
InterruptedException
-
FileWrapper
protected FileWrapper(@NonNull FilePath file) throws IOException, InterruptedException
- Throws:
IOException
InterruptedException
-
-