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:
  • Field Details

    • LOGGER

      public static final org.slf4j.Logger LOGGER
  • Constructor Details

    • RegistryItemStorage

      @DataBoundConstructor public RegistryItemStorage()
  • Method Details

    • setStorageCredentialId

      @DataBoundSetter public void setStorageCredentialId(String storageCredentialId)
    • setRegistryUrl

      @DataBoundSetter public void setRegistryUrl(String registryUrl)
    • setNamespace

      @DataBoundSetter public void setNamespace(String namespace)
    • getStorageCredentialId

      public String getStorageCredentialId()
    • getRegistryUrl

      public String getRegistryUrl()
    • getNamespace

      public String getNamespace()
    • getObjectPath

      public RegistryItemPath getObjectPath(Item item, String path)
      Specified by:
      getObjectPath in class jenkins.plugins.itemstorage.ItemStorage<RegistryItemPath>
    • getObjectPathForBranch

      public RegistryItemPath getObjectPathForBranch(Item item, String path, String branch)
      Specified by:
      getObjectPathForBranch in class jenkins.plugins.itemstorage.ItemStorage<RegistryItemPath>
    • get

      public static RegistryItemStorage get()
    • getCredentials

      public static com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials getCredentials(String credentialsId)