📄 parsedconfiguration.java
字号:
* @param markRemoteRecipientSeen The markRemoteRecipientSeen to set */ protected void setMarkRemoteRecipientSeen(boolean markRemoteRecipientSeen) { fieldMarkRemoteRecipientSeen = markRemoteRecipientSeen; } /** * Returns the rejectRemoteRecipient. * @return boolean */ public boolean isRejectRemoteRecipient() { return fieldRejectRemoteRecipient; } /** * Sets the rejectRemoteRecipient. * @param rejectRemoteRecipient The rejectRemoteRecipient to set */ protected void setRejectRemoteRecipient(boolean rejectRemoteRecipient) { fieldRejectRemoteRecipient = rejectRemoteRecipient; } /** * Returns the defaultDomainName. Lazy initializes if required. * @return String */ public String getDefaultDomainName() { String defaultDomainName = null; if (null == (defaultDomainName = getDefaultDomainNameBasic())) { updateDefaultDomainName(); return getDefaultDomainName(); } return defaultDomainName; } /** * Returns the defaultDomainName. * @return String */ private String getDefaultDomainNameBasic() { return fieldDefaultDomainName; } /** * Validates and sets the defaultDomainName. * @param defaultDomainName The defaultDomainName to set */ protected void setDefaultDomainName(String defaultDomainName) throws ConfigurationException { validateDefaultDomainName(defaultDomainName); setDefaultDomainNameBasic(defaultDomainName); } /** * Sets the defaultDomainName. * @param defaultDomainName The defaultDomainName to set */ private void setDefaultDomainNameBasic(String defaultDomainName) { fieldDefaultDomainName = defaultDomainName; } /** * Validates the defaultDomainName. * @param defaultDomainName The defaultDomainName to validate */ protected void validateDefaultDomainName(String defaultDomainName) throws ConfigurationException { if (!getServer().isLocalServer(defaultDomainName)) { throw new ConfigurationException( "Default domain name is not a local server: " + defaultDomainName); } } /** * Computes the defaultDomainName. */ protected String computeDefaultDomainName() { String hostName = null; try { // These shenanigans are required to get the fully qualified // hostname prior to JDK 1.4 in which get getCanonicalHostName() // does the job for us InetAddress addr1 = java.net.InetAddress.getLocalHost(); InetAddress addr2 = addr1.getByName(addr1.getHostAddress()); hostName = addr2.getHostName(); } catch (UnknownHostException ue) { hostName = "localhost"; } return hostName; } /** * Updates the defaultDomainName. */ protected void updateDefaultDomainName() { setDefaultDomainNameBasic(computeDefaultDomainName()); } /** * Returns the leaveUndeliverable. * @return boolean */ public boolean isLeaveUndeliverable() { return fieldLeaveUndeliverable; } /** * Returns the markUndeliverableSeen. * @return boolean */ public boolean isMarkUndeliverableSeen() { return fieldMarkUndeliverableSeen; } /** * Sets the leaveUndeliverable. * @param leaveUndeliverable The leaveUndeliverable to set */ protected void setLeaveUndeliverable(boolean leaveUndeliverable) { fieldLeaveUndeliverable = leaveUndeliverable; } /** * Sets the markUndeliverableSeen. * @param markUndeliverableSeen The markUndeliverableSeen to set */ protected void setMarkUndeliverableSeen(boolean markUndeliverableSeen) { fieldMarkUndeliverableSeen = markUndeliverableSeen; } /** * Returns the rejectBlacklisted. * @return boolean */ public boolean isRejectBlacklisted() { return fieldRejectBlacklisted; } /** * Sets the rejectBlacklisted. * @param rejectBlacklisted The rejectBlacklisted to set */ protected void setRejectBlacklisted(boolean rejectBlacklisted) { fieldRejectBlacklisted = rejectBlacklisted; } /** * Returns the leaveRecipientNotFound. * @return boolean */ public boolean isLeaveRecipientNotFound() { return fieldLeaveRecipientNotFound; } /** * Returns the markRecipientNotFoundSeen. * @return boolean */ public boolean isMarkRecipientNotFoundSeen() { return fieldMarkRecipientNotFoundSeen; } /** * Returns the rejectRecipientNotFound. * @return boolean */ public boolean isRejectRecipientNotFound() { return fieldRejectRecipientNotFound; } /** * Sets the leaveRecipientNotFound. * @param leaveRecipientNotFound The leaveRecipientNotFound to set */ protected void setLeaveRecipientNotFound(boolean leaveRecipientNotFound) { fieldLeaveRecipientNotFound = leaveRecipientNotFound; } /** * Sets the markRecipientNotFoundSeen. * @param markRecipientNotFoundSeen The markRecipientNotFoundSeen to set */ protected void setMarkRecipientNotFoundSeen(boolean markRecipientNotFoundSeen) { fieldMarkRecipientNotFoundSeen = markRecipientNotFoundSeen; } /** * Sets the rejectRecipientNotFound. * @param rejectRecipientNotFound The rejectRecipientNotFound to set */ protected void setRejectRecipientNotFound(boolean rejectRecipientNotFound) { fieldRejectRecipientNotFound = rejectRecipientNotFound; } /** * Returns the deferRecipientNotFound. * @return boolean */ public boolean isDeferRecipientNotFound() { return fieldDeferRecipientNotFound; } /** * Sets the deferRecipientNotFound. * @param deferRecipientNotFound The deferRecepientNotFound to set */ protected void setDeferRecipientNotFound(boolean deferRecipientNotFound) { fieldDeferRecipientNotFound = deferRecipientNotFound; } /** * Returns the remoteReceivedHeaderIndex. * @return int */ public int getRemoteReceivedHeaderIndex() { return fieldRemoteReceivedHeaderIndex; } /** * Sets the remoteReceivedHeaderIndex. * @param remoteReceivedHeaderIndex The remoteReceivedHeaderIndex to set */ protected void setRemoteReceivedHeaderIndex(int remoteReceivedHeaderIndex) { fieldRemoteReceivedHeaderIndex = remoteReceivedHeaderIndex; } /** * Returns the leaveMaxMessageSize. * @return boolean */ public boolean isLeaveMaxMessageSizeExceeded() { return fieldLeaveMaxMessageSizeExceeded; } /** * Returns the markMaxMessageSizeSeen. * @return boolean */ public boolean isMarkMaxMessageSizeExceededSeen() { return fieldMarkMaxMessageSizeExceededSeen; } /** * Returns the maxMessageSizeLimit. * @return int */ public int getMaxMessageSizeLimit() { return fieldMaxMessageSizeLimit; } /** * Returns the rejectMaxMessageSize. * @return boolean */ public boolean isRejectMaxMessageSizeExceeded() { return fieldRejectMaxMessageSizeExceeded; } /** * Sets the leaveMaxMessageSize. * @param leaveMaxMessageSize The leaveMaxMessageSize to set */ protected void setLeaveMaxMessageSizeExceeded(boolean leaveMaxMessageSize) { fieldLeaveMaxMessageSizeExceeded = leaveMaxMessageSize; } /** * Sets the markMaxMessageSizeSeen. * @param markMaxMessageSizeSeen The markMaxMessageSizeSeen to set */ protected void setMarkMaxMessageSizeExceededSeen(boolean markMaxMessageSizeSeen) { fieldMarkMaxMessageSizeExceededSeen = markMaxMessageSizeSeen; } /** * Sets the maxMessageSizeLimit. * @param maxMessageSizeLimit The maxMessageSizeLimit to set */ protected void setMaxMessageSizeLimit(int maxMessageSizeLimit) { fieldMaxMessageSizeLimit = maxMessageSizeLimit; } /** * Sets the rejectMaxMessageSize. * @param rejectMaxMessageSize The rejectMaxMessageSize to set */ protected void setRejectMaxMessageSizeExceeded(boolean rejectMaxMessageSize) { fieldRejectMaxMessageSizeExceeded = rejectMaxMessageSize; } /** * Returns the leaveRemoteReceivedHeaderInvalid. * @return boolean */ public boolean isLeaveRemoteReceivedHeaderInvalid() { return fieldLeaveRemoteReceivedHeaderInvalid; } /** * Returns the markRemoteReceivedHeaderInvalidSeen. * @return boolean */ public boolean isMarkRemoteReceivedHeaderInvalidSeen() { return fieldMarkRemoteReceivedHeaderInvalidSeen; } /** * Returns the rejectRemoteReceivedHeaderInvalid. * @return boolean */ public boolean isRejectRemoteReceivedHeaderInvalid() { return fieldRejectRemoteReceivedHeaderInvalid; } /** * Sets the leaveRemoteReceivedHeaderInvalid. * @param leaveRemoteReceivedHeaderInvalid The leaveRemoteReceivedHeaderInvalid to set */ protected void setLeaveRemoteReceivedHeaderInvalid(boolean leaveRemoteReceivedHeaderInvalid) { fieldLeaveRemoteReceivedHeaderInvalid = leaveRemoteReceivedHeaderInvalid; } /** * Sets the markRemoteReceivedHeaderInvalidSeen. * @param markRemoteReceivedHeaderInvalidSeen The markRemoteReceivedHeaderInvalidSeen to set */ protected void setMarkRemoteReceivedHeaderInvalidSeen(boolean markRemoteReceivedHeaderInvalidSeen) { fieldMarkRemoteReceivedHeaderInvalidSeen = markRemoteReceivedHeaderInvalidSeen; } /** * Sets the rejectRemoteReceivedHeaderInvalid. * @param rejectRemoteReceivedHeaderInvalid The rejectRemoteReceivedHeaderInvalid to set */ protected void setRejectRemoteReceivedHeaderInvalid(boolean rejectRemoteReceivedHeaderInvalid) { fieldRejectRemoteReceivedHeaderInvalid = rejectRemoteReceivedHeaderInvalid; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -