Class LocalObjectPath
java.lang.Object
jenkins.plugins.itemstorage.ObjectPath
jenkins.plugins.itemstorage.local.LocalObjectPath
This implements the on-controller storage for object paths.
- 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 existsprotected String
getPath()
-
Constructor Details
-
LocalObjectPath
-
-
Method Details
-
child
Description copied from class:ObjectPath
Get a relative child path of this ObjectPath- Specified by:
child
in classObjectPath
- Parameters:
path
- 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) Description copied from class:ObjectPath
Support browsing the cache via UI- Specified by:
browse
in classObjectPath
- Returns:
-
getPath
-