Package hudson.tasks
Class Mailer.UserProperty
java.lang.Object
hudson.model.UserProperty
hudson.tasks.Mailer.UserProperty
- All Implemented Interfaces:
ExtensionPoint
,Describable<UserProperty>
,ReconfigurableDescribable<UserProperty>
- Enclosing class:
- Mailer
Per user property that is e-mail address.
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from class hudson.model.UserProperty
user
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets an email address, which have been explicitly configured on the user's configuration page.boolean
Has the user configured a value explicitly (true), or is it inferred (false)?Methods inherited from class hudson.model.UserProperty
all, allByCategoryClass, getDescriptor, reconfigure, reconfigure, setUser
-
Constructor Details
-
UserProperty
-
-
Method Details
-
getAddress
-
getConfiguredAddress
-
getEmailAddress
-
getExplicitlyConfiguredAddress
Gets an email address, which have been explicitly configured on the user's configuration page. This method also truncates spaces. It is highly recommended to usehasExplicitlyConfiguredAddress()
method to check the option's existence.- Returns:
- A trimmed email address. It can be null
- Since:
- TODO
-
hasExplicitlyConfiguredAddress
public boolean hasExplicitlyConfiguredAddress()Has the user configured a value explicitly (true), or is it inferred (false)?- Returns:
true
if there is an email address available.
-