Class AbstractBucketLifecycleManagerDescriptor

java.lang.Object
hudson.model.Descriptor<AbstractUpload>
com.google.jenkins.plugins.storage.AbstractUploadDescriptor
com.google.jenkins.plugins.storage.AbstractBucketLifecycleManagerDescriptor
All Implemented Interfaces:
Saveable, Loadable, OnMaster
Direct Known Subclasses:
ExpiringBucketLifecycleManager.DescriptorImpl

public abstract class AbstractBucketLifecycleManagerDescriptor extends AbstractUploadDescriptor
The descriptor for our new AbstractBucketLifecycleManager extension point.
  • Constructor Details

  • Method Details

    • doCheckBucketNameWithVars

      public FormValidation doCheckBucketNameWithVars(@QueryParameter String bucketNameWithVars) throws IOException
      This specialized override of the bucket name form validation disallows multi-part storage prefixes (just the bucket name).
      Overrides:
      doCheckBucketNameWithVars in class AbstractUploadDescriptor
      Parameters:
      bucketNameWithVars - GCS bucket.
      Returns:
      Valid form validation result or error message if invalid.
      Throws:
      IOException - If there was an issue validating the bucket.