Class RegistryItemStorage
java.lang.Object
hudson.model.AbstractDescribableImpl<jenkins.plugins.itemstorage.ItemStorage<T>>
jenkins.plugins.itemstorage.ItemStorage<RegistryItemPath>
io.jenkins.plugins.jobcacher.oras.RegistryItemStorage
- All Implemented Interfaces:
ExtensionPoint
,Describable<jenkins.plugins.itemstorage.ItemStorage<RegistryItemPath>>
,Serializable
@Extension
public class RegistryItemStorage
extends jenkins.plugins.itemstorage.ItemStorage<RegistryItemPath>
implements Serializable
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
ORAS storage descriptor.Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RegistryItemStorage
get()
static com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials
getCredentials
(String credentialsId) getObjectPath
(Item item, String path) getObjectPathForBranch
(Item item, String path, String branch) void
setNamespace
(String namespace) void
setRegistryUrl
(String registryUrl) void
setStorageCredentialId
(String storageCredentialId) Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Field Details
-
LOGGER
public static final org.slf4j.Logger LOGGER
-
-
Constructor Details
-
RegistryItemStorage
@DataBoundConstructor public RegistryItemStorage()
-
-
Method Details
-
setStorageCredentialId
-
setRegistryUrl
-
setNamespace
-
getStorageCredentialId
-
getRegistryUrl
-
getNamespace
-
getObjectPath
- Specified by:
getObjectPath
in classjenkins.plugins.itemstorage.ItemStorage<RegistryItemPath>
-
getObjectPathForBranch
- Specified by:
getObjectPathForBranch
in classjenkins.plugins.itemstorage.ItemStorage<RegistryItemPath>
-
get
-
getCredentials
public static com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials getCredentials(String credentialsId)
-