Package hudson.tasks

Class Mailer.UserProperty

    • Constructor Detail

      • UserProperty

        @DataBoundConstructor
        public UserProperty​(String emailAddress)
    • Method Detail

      • getAddress

        @Exported
        public String getAddress()
      • getConfiguredAddress

        public String getConfiguredAddress()
      • getEmailAddress

        @CheckForNull
        public String getEmailAddress()
      • getExplicitlyConfiguredAddress

        @CheckForNull
        public String 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 use hasExplicitlyConfiguredAddress() 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.