Class AbstractKeyValueDescribable<T extends AbstractKeyValueDescribable<T>>

java.lang.Object
hudson.model.AbstractDescribableImpl<T>
org.jenkinsci.plugins.oic.AbstractKeyValueDescribable<T>
All Implemented Interfaces:
Describable<T>
Direct Known Subclasses:
AbstractQueryParameter

public abstract class AbstractKeyValueDescribable<T extends AbstractKeyValueDescribable<T>> extends AbstractDescribableImpl<T>
  • Constructor Details

    • AbstractKeyValueDescribable

      public AbstractKeyValueDescribable(String key, String value) throws Descriptor.FormException
      Create a new instance with the provided key/value combination.
      Parameters:
      key - non-blank String to use as the key, will be trimed before persisting
      value - non-blank string for the value, will be trimed before persisting
      Throws:
      Descriptor.FormException - if either key/value are null or are not valid values
    • AbstractKeyValueDescribable

      public AbstractKeyValueDescribable(String key, String value, boolean allowBlankValue) throws Descriptor.FormException
      Create a new instance with the provided key/value combination.
      Parameters:
      key - non-blank String to use as the key, will be trimed before persisting
      value - possibly blank string for the value, will be trimed before persisting
      allowBlankValue - true it value may be blank (but not null)
      Throws:
      Descriptor.FormException - if either key/value are null or are not valid values
  • Method Details