com.atlassian.jira.mail.settings
Class MailSettings.Send

java.lang.Object
  extended by com.atlassian.jira.mail.settings.MailSettings.Send
Enclosing interface:
MailSettings

public static class MailSettings.Send
extends Object

Represents the state of outgoing mail for this JIRA instance. This can either be enabled or disabled.


Method Summary
 boolean disable()
          Disables sending outgoing mail from JIRA.
 boolean enable()
          Enables sending outgoing mail from JIRA.
 boolean isDisabled()
          Whether outgoing mail is currently disabled.
 boolean isEnabled()
          Whether outgoing mail is currently enabled.
 boolean isModifiable()
          Whether the outgoing mail setting can be changed from enabled to disabled, or viceversa.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isEnabled

public boolean isEnabled()
Whether outgoing mail is currently enabled.

Returns:
true, if outgoing mail is enabled. Otherwise, false.

isDisabled

public boolean isDisabled()
Whether outgoing mail is currently disabled.

Returns:
true, if outgoing mail is disabled. Otherwise, false.
See Also:
isEnabled()

isModifiable

public boolean isModifiable()
Whether the outgoing mail setting can be changed from enabled to disabled, or viceversa.

Returns:
true, if outgoing mail can be changed. Otherwise, false.

enable

public boolean enable()
Enables sending outgoing mail from JIRA.

Returns:
true, if outgoing mail was succesfully enabled. Otherwise, false.
See Also:
isModifiable()

disable

public boolean disable()
Disables sending outgoing mail from JIRA.

Returns:
true, if outgoing mail was succesfully disabled. Otherwise, false.
See Also:
isModifiable()


Copyright © 2002-2012 Atlassian. All Rights Reserved.