Package jenkins.plugins.itemstorage.s3
Class S3ObjectPath
java.lang.Object
jenkins.plugins.itemstorage.ObjectPath
jenkins.plugins.itemstorage.s3.S3ObjectPath
Implements ObjectPath API
- Author:
- Peter Hayes
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.kohsuke.stapler.HttpResponse
browse
(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response, Job<?, ?> job, String name) Support browsing the cache via UIGet a relative child path of this ObjectPathvoid
void
void
Recursively delete all contents within the pathboolean
exists()
Check if this path actually exists
-
Constructor Details
-
S3ObjectPath
-
-
Method Details
-
child
Description copied from class:ObjectPath
Get a relative child path of this ObjectPath- Specified by:
child
in classObjectPath
- Parameters:
childPath
- The relative path- Returns:
- The child instance
- Throws:
IOException
InterruptedException
-
copyTo
- Specified by:
copyTo
in classObjectPath
- Throws:
IOException
InterruptedException
-
copyFrom
- Specified by:
copyFrom
in classObjectPath
- Throws:
IOException
InterruptedException
-
exists
Description copied from class:ObjectPath
Check if this path actually exists- Specified by:
exists
in classObjectPath
- Returns:
- true if so, false otherwise
- Throws:
IOException
InterruptedException
-
deleteRecursive
Description copied from class:ObjectPath
Recursively delete all contents within the path- Specified by:
deleteRecursive
in classObjectPath
- Throws:
IOException
InterruptedException
-
browse
public org.kohsuke.stapler.HttpResponse browse(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response, Job<?, ?> job, String name) throws IOExceptionDescription copied from class:ObjectPath
Support browsing the cache via UI- Specified by:
browse
in classObjectPath
- Returns:
- Throws:
IOException
-