public static class MailSettings.Send extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DISABLED_APPLICATION_PROPERTY |
static String |
DISABLED_SYSTEM_PROPERTY_KEY |
Modifier and Type | Method and Description |
---|---|
boolean |
disable()
Disables sending outgoing mail from JIRA.
|
boolean |
enable()
Enables sending outgoing mail from JIRA.
|
String |
getModifiedBy()
Returns the key of the last user to have enabled or disabled outgoing mail, or null if it has never been
enabled or disabled.
|
Date |
getModifiedDate()
Returns the date when outgoing mail was last enabled or disabled, or null if it has never been modified.
|
boolean |
isDisabled()
Whether outgoing mail is currently disabled.
|
boolean |
isDisabledViaApplicationProperty()
Whether outgoing mail is currently disabled via the application property.
|
boolean |
isEnabled()
Whether outgoing mail is currently enabled.
|
boolean |
isModifiable()
Whether the outgoing mail setting can be changed from enabled to disabled, or viceversa.
|
public static final String DISABLED_APPLICATION_PROPERTY
public static final String DISABLED_SYSTEM_PROPERTY_KEY
public boolean isEnabled()
public boolean isDisabled()
isEnabled()
public boolean isDisabledViaApplicationProperty()
isEnabled()
public boolean isModifiable()
@Nullable public String getModifiedBy()
ApplicationUser
@Nullable public Date getModifiedDate()
public boolean enable()
isModifiable()
public boolean disable()
isModifiable()
Copyright © 2002-2021 Atlassian. All Rights Reserved.