|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.di.trans.step.BaseStepMeta
org.pentaho.di.trans.steps.mail.MailMeta
public class MailMeta
Send mail step. based on Mail job entry
Field Summary | |
---|---|
String[] |
contentids
|
String[] |
embeddedimages
|
Fields inherited from class org.pentaho.di.trans.step.BaseStepMeta |
---|
loggingObject, STEP_ATTRIBUTES_FILE |
Constructor Summary | |
---|---|
MailMeta()
|
Method Summary | |
---|---|
void |
allocate(int embeddedimages)
|
void |
check(List<org.pentaho.di.core.CheckResultInterface> remarks,
TransMeta transMeta,
StepMeta stepinfo,
org.pentaho.di.core.row.RowMetaInterface prev,
String[] input,
String[] output,
org.pentaho.di.core.row.RowMetaInterface info)
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 |
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 |
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 |
isDynamicFilename()
|
boolean |
isIncludeSubFolders()
|
boolean |
isIncludingFiles()
|
boolean |
isOnlySendComment()
|
boolean |
isUseHTML()
|
boolean |
isUsePriority()
|
boolean |
isUsingAuthentication()
|
boolean |
isUsingSecureAuthentication()
|
boolean |
isZipFilenameDynamic()
|
boolean |
isZipFiles()
|
void |
loadXML(Node stepnode,
List<org.pentaho.di.core.database.DatabaseMeta> databases,
Map<String,org.pentaho.di.core.Counter> counters)
Load the values for this step from an XML Node |
void |
readRep(Repository rep,
org.pentaho.di.repository.ObjectId id_step,
List<org.pentaho.di.core.database.DatabaseMeta> databases,
Map<String,org.pentaho.di.core.Counter> counters)
Read the steps information from a Kettle repository |
void |
saveRep(Repository rep,
org.pentaho.di.repository.ObjectId id_transformation,
org.pentaho.di.repository.ObjectId id_step)
Save the steps data into a Kettle repository |
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 |
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 |
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 |
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()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public String[] embeddedimages
public String[] contentids
Constructor Detail |
---|
public MailMeta()
Method Detail |
---|
public void loadXML(Node stepnode, List<org.pentaho.di.core.database.DatabaseMeta> databases, Map<String,org.pentaho.di.core.Counter> counters) throws org.pentaho.di.core.exception.KettleXMLException
StepMetaInterface
loadXML
in interface StepMetaInterface
stepnode
- the Node to get the info fromdatabases
- The available list of databases to reference tocounters
- Counters to reference.
org.pentaho.di.core.exception.KettleXMLException
- When an unexpected XML error occurred. (malformed etc.)public Object clone()
StepMetaInterface
clone
in interface StepMetaInterface
clone
in class BaseStepMeta
public void allocate(int embeddedimages)
public void setEmbeddedImage(int i, String value)
public void setContentIds(int i, String value)
public void setDefault()
StepMetaInterface
setDefault
in interface StepMetaInterface
public String getXML() throws org.pentaho.di.core.exception.KettleException
BaseStepMeta
getXML
in interface StepMetaInterface
getXML
in class BaseStepMeta
org.pentaho.di.core.exception.KettleException
- in case there is a conversion or XML 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 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 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 void setPriority(String priorityin)
priority
- the priority to setpublic void readRep(Repository rep, org.pentaho.di.repository.ObjectId id_step, List<org.pentaho.di.core.database.DatabaseMeta> databases, Map<String,org.pentaho.di.core.Counter> counters) throws org.pentaho.di.core.exception.KettleException
StepMetaInterface
readRep
in interface StepMetaInterface
rep
- The repository to read fromid_step
- The step IDdatabases
- The databases to referencecounters
- The counters to reference
org.pentaho.di.core.exception.KettleException
- When an unexpected error occurred (database, network, etc)public void saveRep(Repository rep, org.pentaho.di.repository.ObjectId id_transformation, org.pentaho.di.repository.ObjectId id_step) throws org.pentaho.di.core.exception.KettleException
StepMetaInterface
saveRep
in interface StepMetaInterface
rep
- The Kettle repository to save toid_transformation
- The transformation IDid_step
- The step ID
org.pentaho.di.core.exception.KettleException
- When an unexpected error occurred (database, network, etc)public void check(List<org.pentaho.di.core.CheckResultInterface> remarks, TransMeta transMeta, StepMeta stepinfo, org.pentaho.di.core.row.RowMetaInterface prev, String[] input, String[] output, org.pentaho.di.core.row.RowMetaInterface info)
StepMetaInterface
check
in interface StepMetaInterface
remarks
- The list to put the remarks in @see org.pentaho.di.core.CheckResultstepinfo
- 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 steppublic 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |