|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.mail.settings.MailSettings.Send
public static class MailSettings.Send
Represents the state of outgoing mail for this JIRA instance. This can either be enabled or disabled.
Field Summary | |
---|---|
static String |
DISABLED_APPLICATION_PROPERTY
|
static String |
DISABLED_SYSTEM_PROPERTY_KEY
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String DISABLED_APPLICATION_PROPERTY
public static final String DISABLED_SYSTEM_PROPERTY_KEY
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |