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
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final classNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
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()voidMethods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
LocalItemStorage
@DataBoundConstructor public LocalItemStorage()
-
-
Method Details
-
setRoot
-
getRoot
-
getObjectPath
Description copied from class:ItemStorageGiven an item and path, return an ObjectPath implementation for it- Specified by:
getObjectPathin 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:ItemStorageGiven an item, a path and a branch, return an ObjectPath implementation for it- Specified by:
getObjectPathForBranchin 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
-