Class FilePathContent
- java.lang.Object
-
- com.cloudbees.jenkins.support.api.Content
-
- com.cloudbees.jenkins.support.api.FilePathContent
-
public class FilePathContent extends Content
Content that is stored as a file on a remote disk- Author:
- Stephen Connolly
-
-
Constructor Summary
Constructors Constructor Description FilePathContent(String name, FilePath file)
FilePathContent(String name, String[] filterableParameters, FilePath file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getTime()
void
writeTo(OutputStream os)
-
Methods inherited from class com.cloudbees.jenkins.support.api.Content
getFilterableParameters, getName, shouldBeFiltered
-
-
-
-
Method Detail
-
writeTo
public void writeTo(OutputStream os) throws IOException
- Specified by:
writeTo
in classContent
- Throws:
IOException
-
getTime
public long getTime() throws IOException
- Overrides:
getTime
in classContent
- Throws:
IOException
-
-