Class LocalItemStorage
java.lang.Object
hudson.model.AbstractDescribableImpl<ItemStorage<T>>
jenkins.plugins.itemstorage.ItemStorage<LocalObjectPath>
jenkins.plugins.itemstorage.local.LocalItemStorage
- All Implemented Interfaces:
ExtensionPoint
,Describable<ItemStorage<LocalObjectPath>>
,Serializable
Implementation of Item Storage that stores data on the Jenkins controller within the existing job folder or in custom path.
- Author:
- Peter Hayes
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static final class
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetObjectPath
(Item item, String path) Given an item and path, return an ObjectPath implementation for itgetObjectPathForBranch
(Item item, String path, String branch) Given an item, a path and a branch, return an ObjectPath implementation for itgetRoot()
void
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
LocalItemStorage
@DataBoundConstructor public LocalItemStorage()
-
-
Method Details
-
setRoot
-
getRoot
-
getObjectPath
Description copied from class:ItemStorage
Given an item and path, return an ObjectPath implementation for it- Specified by:
getObjectPath
in classItemStorage<LocalObjectPath>
- Parameters:
item
- The item to associate the path withpath
- The path scoped by the item- Returns:
- The ObjectPath to act upon that path
-
getObjectPathForBranch
Description copied from class:ItemStorage
Given an item, a path and a branch, return an ObjectPath implementation for it- Specified by:
getObjectPathForBranch
in classItemStorage<LocalObjectPath>
- Parameters:
item
- The item to associate the path withpath
- The path scoped by the itembranch
- The branch for which to get the object path for- Returns:
- The ObjectPath to act upon that path
-