public String getRealAttachmentFolder() { return environmentSubstitute( getAttachmentFolder() ); }
public String getRealFilenamePattern() { return environmentSubstitute( getFilenamePattern() ); }
public String getRealProxyUsername() { return environmentSubstitute( geProxyUsername() ); }
public String getRealPort() { return environmentSubstitute( getPort() ); }
public String getRealFirstMails() { return environmentSubstitute( getFirstMails() ); }
public String getRealUsername() { return environmentSubstitute( getUserName() ); }
public String getRealOutputDirectory() { return environmentSubstitute( getOutputDirectory() ); }
public String getRealServername() { return environmentSubstitute( getServerName() ); }
private void initVariables() { // Attachment wildcard attachementPattern = null; String realAttachmentWildcard = environmentSubstitute( getAttachmentWildcard() ); if ( !Utils.isEmpty( realAttachmentWildcard ) ) { attachementPattern = Pattern.compile( realAttachmentWildcard ); } }
String realMoveToIMAPFolder = environmentSubstitute( getMoveToIMAPFolder() ); if ( getProtocol().equals( MailConnectionMeta.PROTOCOL_STRING_IMAP ) && ( getActionType() == MailConnectionMeta.ACTION_TYPE_MOVE ) case MailConnectionMeta.CONDITION_DATE_GREATER: case MailConnectionMeta.CONDITION_DATE_SMALLER: String realBeginDate = environmentSubstitute( getReceivedDate1() ); if ( Utils.isEmpty( realBeginDate ) ) { throw new KettleException( BaseMessages.getString( break; case MailConnectionMeta.CONDITION_DATE_BETWEEN: realBeginDate = environmentSubstitute( getReceivedDate1() ); if ( Utils.isEmpty( realBeginDate ) ) { throw new KettleException( BaseMessages.getString( String realEndDate = environmentSubstitute( getReceivedDate2() ); if ( Utils.isEmpty( realEndDate ) ) { throw new KettleException( BaseMessages.getString( String realpassword = getRealPassword( getPassword() ); String realFilenamePattern = getRealFilenamePattern(); int realport = Const.toInt( environmentSubstitute( sslport ), -1 ); String realIMAPFolder = environmentSubstitute( getIMAPFolder() ); String realProxyUsername = getRealProxyUsername(); String realSearchSender = environmentSubstitute( getSenderSearchTerm() ); if ( !Utils.isEmpty( realSearchSender ) ) {