public static class Mailer.UserProperty extends UserProperty
| Modifier and Type | Class and Description |
|---|---|
static class |
Mailer.UserProperty.DescriptorImpl |
ExtensionPoint.LegacyInstancesAreScopedToHudsonuser| Constructor and Description |
|---|
UserProperty(String emailAddress) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAddress() |
String |
getConfiguredAddress() |
String |
getEmailAddress() |
String |
getExplicitlyConfiguredAddress()
Gets an email address, which have been explicitly configured on the
user's configuration page.
|
boolean |
hasExplicitlyConfiguredAddress()
Has the user configured a value explicitly (true), or is it inferred (false)?
|
all, getDescriptor, reconfigure, setUser@DataBoundConstructor public UserProperty(String emailAddress)
@Exported public String getAddress()
public String getConfiguredAddress()
@CheckForNull public String getEmailAddress()
@CheckForNull public String getExplicitlyConfiguredAddress()
hasExplicitlyConfiguredAddress() method to check the
option's existence.public boolean hasExplicitlyConfiguredAddress()
true if there is an email address available.Copyright © 2016–2021. All rights reserved.