public class MailMeta extends BaseStepMeta implements StepMetaInterface
attributes, databases, ioMeta, log, loggingObject, parentStepMeta, repository, STEP_ATTRIBUTES_FILE
Constructor and Description |
---|
MailMeta() |
Modifier and Type | Method and Description |
---|---|
void |
allocate(int value) |
void |
check(List<CheckResultInterface> remarks,
TransMeta transMeta,
StepMeta stepMeta,
RowMetaInterface prev,
String[] input,
String[] output,
RowMetaInterface info,
VariableSpace space,
Repository repository,
org.pentaho.metastore.api.IMetaStore metaStore)
Checks the settings of this step and puts the findings in a remarks List.
|
Object |
clone()
Make an exact copy of this step, make sure to explicitly copy Collections etc.
|
String |
getAttachContentField() |
String |
getAttachContentFileNameField() |
String |
getAuthenticationPassword() |
String |
getAuthenticationUser() |
String |
getComment() |
String |
getContactPerson() |
String |
getContactPhone() |
String[] |
getContentIds() |
String |
getDestination() |
String |
getDestinationBCc() |
String |
getDestinationCc() |
String |
getDynamicFieldname() |
String |
getDynamicWildcard() |
String |
getDynamicZipFilenameField() |
String[] |
getEmbeddedImages() |
String |
getEncoding() |
String |
getImportance() |
boolean |
getIncludeDate() |
String |
getPort() |
String |
getPriority() |
String |
getReplyAddress() |
String |
getReplyName() |
String |
getReplyToAddresses() |
String |
getSecureConnectionType() |
String |
getSensitivity() |
String |
getServer() |
String |
getSourceFileFoldername() |
String |
getSourceWildcard() |
StepInterface |
getStep(StepMeta stepMeta,
StepDataInterface stepDataInterface,
int cnr,
TransMeta tr,
Trans trans)
Get the executing step, needed by Trans to launch a step.
|
StepDataInterface |
getStepData()
Get a new instance of the appropriate data class.
|
String |
getSubject() |
String |
getXML()
Produces the XML string that describes this step's information.
|
String |
getZipFilename() |
String |
getZipLimitSize() |
boolean |
isAttachContentFromField() |
boolean |
isDynamicFilename() |
boolean |
isIncludeSubFolders() |
boolean |
isIncludingFiles() |
boolean |
isOnlySendComment() |
boolean |
isUseHTML() |
boolean |
isUsePriority() |
boolean |
isUsingAuthentication() |
boolean |
isUsingSecureAuthentication() |
boolean |
isZipFilenameDynamic() |
boolean |
isZipFiles() |
void |
loadXML(Node stepnode,
List<DatabaseMeta> databases,
org.pentaho.metastore.api.IMetaStore metaStore)
Load the values for this step from an XML Node
|
void |
readRep(Repository rep,
org.pentaho.metastore.api.IMetaStore metaStore,
ObjectId id_step,
List<DatabaseMeta> databases)
Read the steps information from a Kettle repository
|
void |
saveRep(Repository rep,
org.pentaho.metastore.api.IMetaStore metaStore,
ObjectId id_transformation,
ObjectId id_step)
Save the steps data into a Kettle repository
|
void |
setAttachContentField(String attachContentField) |
void |
setAttachContentFileNameField(String attachContentFileNameField) |
void |
setAttachContentFromField(boolean attachContentFromField) |
void |
setAuthenticationPassword(String authenticationPassword) |
void |
setAuthenticationUser(String authenticationUser) |
void |
setComment(String comm) |
void |
setContactPerson(String person) |
void |
setContactPhone(String phone) |
void |
setContentIds(int i,
String value) |
void |
setContentIds(String[] value) |
void |
setDefault()
Set default values
|
void |
setDestination(String dest) |
void |
setDestinationBCc(String destBCc) |
void |
setDestinationCc(String destCc) |
void |
setDynamicFieldname(String dynamicfield) |
void |
setDynamicWildcard(String dynamicwildcard) |
void |
setDynamicZipFilenameField(String dynamiczipfilename) |
void |
setEmbeddedImage(int i,
String value) |
void |
setEmbeddedImages(String[] value) |
void |
setEncoding(String encoding) |
void |
setImportance(String importancein) |
void |
setIncludeDate(boolean incl) |
void |
setIncludeSubFolders(boolean incl) |
void |
setIncludingFiles(boolean includeFiles) |
void |
setisDynamicFilename(boolean isdynamic) |
void |
setOnlySendComment(boolean onlySendComment) |
void |
setPort(String port) |
void |
setPriority(String priorityin) |
void |
setReplyAddress(String reply) |
void |
setReplyName(String replyname) |
void |
setReplyToAddresses(String replytoaddresses) |
void |
setSecureConnectionType(String secureconnectiontypein) |
void |
setSensitivity(String sensitivity) |
void |
setServer(String s) |
void |
setSourceFileFoldername(String sourcefile) |
void |
setSourceWildcard(String wildcard) |
void |
setSubject(String subj) |
void |
setUseHTML(boolean UseHTML) |
void |
setUsePriority(boolean usePriorityin) |
void |
setUsingAuthentication(boolean usingAuthentication) |
void |
setUsingSecureAuthentication(boolean usingSecureAuthentication) |
void |
setZipFilename(String zipFilename) |
void |
setZipFilenameDynamic(boolean isdynamic) |
void |
setZipFiles(boolean zipFiles) |
void |
setZipLimitSize(String ziplimitsize) |
boolean |
supportsErrorHandling() |
analyseImpact, analyseImpact, cancelQueries, check, check, createEntry, excludeFromCopyDistributeVerification, excludeFromRowLayoutVerification, exportResources, exportResources, extractStepMetadataEntries, findAttribute, findParent, findParentEntry, getActiveReferencedObjectDescription, getDescription, getDialogClassName, getFields, getFields, getLog, getLogChannelId, getName, getObjectCopy, getObjectId, getObjectRevision, getObjectType, getOptionalStreams, getParent, getParentStepMeta, getReferencedObjectDescriptions, getRepCode, getRepositoryDirectory, getRequiredFields, getRequiredFields, getResourceDependencies, getSQLStatements, getSQLStatements, getStepInjectionMetadataEntries, getStepIOMeta, getStepMetaInjectionInterface, getSupportedTransformationTypes, getTableFields, getTooltip, getUsedArguments, getUsedDatabaseConnections, getUsedLibraries, getXmlCode, handleStreamSelection, hasChanged, hasRepositoryReferences, isBasic, isDebug, isDetailed, isReferencedObjectEnabled, isRowLevel, loadReferencedObject, loadReferencedObject, loadStepAttributes, loadXML, loadXML, logBasic, logBasic, logDebug, logDebug, logDetailed, logDetailed, logError, logError, logError, logMinimal, logMinimal, logRowlevel, logRowlevel, lookupRepositoryReferences, readRep, readRep, resetStepIoMeta, saveRep, searchInfoAndTargetSteps, setChanged, setChanged, setParentStepMeta
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
analyseImpact, analyseImpact, cancelQueries, check, cleanAfterHopFromRemove, excludeFromCopyDistributeVerification, excludeFromRowLayoutVerification, exportResources, exportResources, extractStepMetadataEntries, getActiveReferencedObjectDescription, getDialogClassName, getFields, getFields, getOptionalStreams, getParentStepMeta, getReferencedObjectDescriptions, getRequiredFields, getResourceDependencies, getSQLStatements, getSQLStatements, getStepIOMeta, getStepMetaInjectionInterface, getSupportedTransformationTypes, getTableFields, getUsedArguments, getUsedDatabaseConnections, getUsedLibraries, handleStreamSelection, hasChanged, hasRepositoryReferences, isReferencedObjectEnabled, loadReferencedObject, loadXML, lookupRepositoryReferences, passDataToServletOutput, readRep, resetStepIoMeta, saveRep, searchInfoAndTargetSteps, setChanged, setParentStepMeta
public void loadXML(Node stepnode, List<DatabaseMeta> databases, org.pentaho.metastore.api.IMetaStore metaStore) throws KettleXMLException
StepMetaInterface
loadXML
in interface StepMetaInterface
loadXML
in class BaseStepMeta
stepnode
- the Node to get the info fromdatabases
- The available list of databases to reference tometaStore
- the metastore to optionally load external reference metadata fromKettleXMLException
- When an unexpected XML error occurred. (malformed etc.)public Object clone()
StepMetaInterface
clone
in interface StepMetaInterface
clone
in class BaseStepMeta
public void allocate(int value)
public void setEmbeddedImage(int i, String value)
public void setEmbeddedImages(String[] value)
public void setContentIds(int i, String value)
public void setContentIds(String[] value)
public void setDefault()
StepMetaInterface
setDefault
in interface StepMetaInterface
public String getXML() throws KettleException
BaseStepMeta
getXML
in interface StepMetaInterface
getXML
in class BaseStepMeta
KettleException
- in case there is an XML conversion or encoding errorpublic void setServer(String s)
public String getServer()
public void setDestination(String dest)
public void setDestinationCc(String destCc)
public void setDestinationBCc(String destBCc)
public String getDestination()
public String getDestinationCc()
public String getDestinationBCc()
public void setReplyAddress(String reply)
public String getReplyAddress()
public void setReplyName(String replyname)
public String getReplyName()
public void setSubject(String subj)
public String getSubject()
public void setIncludeDate(boolean incl)
public void setIncludeSubFolders(boolean incl)
public boolean isIncludeSubFolders()
public String[] getEmbeddedImages()
public String[] getContentIds()
public boolean isZipFilenameDynamic()
public void setZipFilenameDynamic(boolean isdynamic)
public void setisDynamicFilename(boolean isdynamic)
public void setAttachContentFromField(boolean attachContentFromField)
public void setAttachContentField(String attachContentField)
public void setAttachContentFileNameField(String attachContentFileNameField)
public void setDynamicWildcard(String dynamicwildcard)
public void setDynamicZipFilenameField(String dynamiczipfilename)
public String getDynamicZipFilenameField()
public String getDynamicWildcard()
public void setSourceFileFoldername(String sourcefile)
public String getSourceFileFoldername()
public void setSourceWildcard(String wildcard)
public String getSourceWildcard()
public void setDynamicFieldname(String dynamicfield)
public String getDynamicFieldname()
public boolean getIncludeDate()
public boolean isDynamicFilename()
public boolean isAttachContentFromField()
public String getAttachContentField()
public String getAttachContentFileNameField()
public void setContactPerson(String person)
public String getContactPerson()
public void setContactPhone(String phone)
public String getContactPhone()
public void setComment(String comm)
public String getComment()
public boolean isIncludingFiles()
public void setIncludingFiles(boolean includeFiles)
public String getZipFilename()
public String getZipLimitSize()
public void setZipLimitSize(String ziplimitsize)
ziplimitsize
- The ziplimitsize to set.public void setZipFilename(String zipFilename)
zipFilename
- The zipFilename to set.public boolean isZipFiles()
public void setZipFiles(boolean zipFiles)
zipFiles
- The zipFiles to set.public String getAuthenticationPassword()
public void setAuthenticationPassword(String authenticationPassword)
authenticationPassword
- The authenticationPassword to set.public String getAuthenticationUser()
public void setAuthenticationUser(String authenticationUser)
authenticationUser
- The authenticationUser to set.public boolean isUsingAuthentication()
public void setUsingAuthentication(boolean usingAuthentication)
usingAuthentication
- The usingAuthentication to set.public boolean isOnlySendComment()
public void setOnlySendComment(boolean onlySendComment)
onlySendComment
- the onlySendComment flag to setpublic boolean isUseHTML()
public void setUseHTML(boolean UseHTML)
useHTML
- the useHTML to setpublic String getEncoding()
public String getSecureConnectionType()
public void setSecureConnectionType(String secureconnectiontypein)
secureconnectiontype
- the secureconnectiontype to setpublic void setReplyToAddresses(String replytoaddresses)
replyToAddresses
- the replyToAddresses to setpublic String getReplyToAddresses()
public void setEncoding(String encoding)
encoding
- the encoding to setpublic boolean isUsingSecureAuthentication()
public void setUsingSecureAuthentication(boolean usingSecureAuthentication)
usingSecureAuthentication
- the usingSecureAuthentication to setpublic String getPort()
public void setPort(String port)
port
- the port to setpublic void setUsePriority(boolean usePriorityin)
usePriority
- the usePriority to setpublic boolean isUsePriority()
public String getPriority()
public void setImportance(String importancein)
importance
- the importance to setpublic String getImportance()
public String getSensitivity()
public void setSensitivity(String sensitivity)
public void setPriority(String priorityin)
priority
- the priority to setpublic void readRep(Repository rep, org.pentaho.metastore.api.IMetaStore metaStore, ObjectId id_step, List<DatabaseMeta> databases) throws KettleException
StepMetaInterface
readRep
in interface StepMetaInterface
readRep
in class BaseStepMeta
rep
- The repository to read frommetaStore
- The MetaStore to read external information fromid_step
- The step IDdatabases
- The databases to referenceKettleException
- When an unexpected error occurred (database, network, etc)public void saveRep(Repository rep, org.pentaho.metastore.api.IMetaStore metaStore, ObjectId id_transformation, ObjectId id_step) throws KettleException
StepMetaInterface
saveRep
in interface StepMetaInterface
saveRep
in class BaseStepMeta
rep
- The Kettle repository to save tometaStore
- the metaStore to optionally write toid_transformation
- The transformation IDid_step
- The step IDKettleException
- When an unexpected error occurred (database, network, etc)public void check(List<CheckResultInterface> remarks, TransMeta transMeta, StepMeta stepMeta, RowMetaInterface prev, String[] input, String[] output, RowMetaInterface info, VariableSpace space, Repository repository, org.pentaho.metastore.api.IMetaStore metaStore)
StepMetaInterface
check
in interface StepMetaInterface
check
in class BaseStepMeta
remarks
- The list to put the remarks in @see org.pentaho.di.core.CheckResultstepMeta
- The stepMeta to help checkingprev
- The fields coming from the previous stepinput
- The input step namesoutput
- The output step namesinfo
- The fields that are used as information by the stepspace
- the variable space to resolve variable expressions withrepository
- the repository to use to load Kettle metadata objects impacting the output fieldsmetaStore
- the MetaStore to use to load additional external data or metadata impacting the output fieldspublic StepInterface getStep(StepMeta stepMeta, StepDataInterface stepDataInterface, int cnr, TransMeta tr, Trans trans)
StepMetaInterface
getStep
in interface StepMetaInterface
stepMeta
- The step infostepDataInterface
- the step data interface linked to this step. Here the step can store temporary data, database connections,
etc.cnr
- The copy nr to gettr
- The transformation infotrans
- The launching transformationpublic StepDataInterface getStepData()
StepMetaInterface
getStepData
in interface StepMetaInterface
public boolean supportsErrorHandling()
supportsErrorHandling
in interface StepMetaInterface
supportsErrorHandling
in class BaseStepMeta
Copyright © 2018 Hitachi Vantara. All rights reserved.