Class SchemeRequirement

java.lang.Object
com.cloudbees.plugins.credentials.domains.DomainRequirement
com.cloudbees.plugins.credentials.domains.SchemeRequirement
All Implemented Interfaces:
ExtensionPoint, Serializable

public class SchemeRequirement extends DomainRequirement
A requirement for a specific URI scheme, for example http or smtp
Since:
1.5
See Also:
  • Constructor Details

    • SchemeRequirement

      public SchemeRequirement(@CheckForNull String scheme)
      Constructs a requirement for the specified scheme.
      Parameters:
      scheme - the scheme.
  • Method Details

    • getScheme

      @NonNull public String getScheme()
      Returns the scheme.
      Returns:
      the scheme.