public class RssOutputMeta extends BaseStepMeta implements StepMetaInterface
attributes, databases, ioMeta, log, loggingObject, parentStepMeta, repository, STEP_ATTRIBUTES_FILE
Constructor and Description |
---|
RssOutputMeta() |
Modifier and Type | Method and Description |
---|---|
boolean |
AddGeoRSS() |
boolean |
AddImage() |
boolean |
AddToResult() |
void |
allocate(int nrfields) |
void |
allocateitem(int nrfields) |
void |
allocatenamespace(int nrnamespaces) |
String |
buildFilename(VariableSpace space,
int stepnr) |
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 |
getChannelAuthor() |
String |
getChannelCopyright() |
String[] |
getChannelCustomFields() |
String[] |
getChannelCustomTags() |
String |
getChannelDescription() |
String |
getChannelImageDescription() |
String |
getChannelImageLink() |
String |
getChannelImageTitle() |
String |
getChannelImageUrl() |
String |
getChannelLanguage() |
String |
getChannelLink() |
String |
getChannelPubDate() |
String |
getChannelTitle() |
String |
getEncoding() |
String |
getExtension() |
String |
getFileName() |
String |
getFileNameField() |
String[] |
getFiles(VariableSpace space) |
String |
getGeoPointLat() |
String |
getGeoPointLong() |
String |
getItemAuthor() |
String[] |
getItemCustomFields() |
String[] |
getItemCustomTags() |
String |
getItemDescription() |
String |
getItemLink() |
String |
getItemPubDate() |
String |
getItemTitle() |
String[] |
getNameSpaces() |
String[] |
getNameSpacesTitle() |
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 |
getVersion() |
String |
getXML()
Produces the XML string that describes this step's information.
|
boolean |
isCreateParentFolder() |
boolean |
isCustomRss() |
boolean |
isDateInFilename() |
boolean |
isDisplayItem() |
boolean |
isFilenameInField() |
boolean |
isPartNrInFilename() |
boolean |
isStepNrInFilename() |
boolean |
isTimeInFilename() |
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 |
setAddGeoRSS(boolean addgeorss) |
void |
setAddImage(boolean addimage) |
void |
setAddToResult(boolean AddToResult) |
void |
setChannelAuthor(String channelauthor) |
void |
setChannelCopyright(String channelcopyright) |
void |
setChannelCustomFields(String[] ChannelCustomFields) |
void |
setChannelCustomTags(String[] ChannelCustomTags) |
void |
setChannelDescription(String channeldescription) |
void |
setChannelImageDescription(String channelimagedescription) |
void |
setChannelImageLink(String channelimagelink) |
void |
setChannelImageTitle(String channelimagetitle) |
void |
setChannelImageUrl(String channelimageurl) |
void |
setChannelLanguage(String channellanguage) |
void |
setChannelLink(String channellink) |
void |
setChannelPubDate(String channelpubdate) |
void |
setChannelTitle(String channeltitle) |
void |
setCreateParentFolder(boolean createparentfolder) |
void |
setCustomRss(boolean customrss) |
void |
setDateInFilename(boolean dateInFilename) |
void |
setDefault()
Set default values
|
void |
setDisplayItem(boolean displayitem) |
void |
setEncoding(String encoding) |
void |
setExtension(String extension) |
void |
setFileName(String fileName) |
void |
setFileNameField(String filenamefield) |
void |
setFilenameInField(boolean isfilenameinfield) |
void |
setGeoPointLat(String geopointlat) |
void |
setGeoPointLong(String geopointlong) |
void |
setItemAuthor(String itemauthor) |
void |
setItemCustomFields(String[] value) |
void |
setItemCustomTags(String[] ItemCustomTags) |
void |
setItemDescription(String itemdescription) |
void |
setItemLink(String itemlink) |
void |
setItemPubDate(String itempubdate) |
void |
setItemTitle(String itemtitle) |
void |
setNameSpaces(String[] NameSpaces) |
void |
setNameSpacesTitle(String[] NameSpacesTitle) |
void |
setPartNrInFilename(boolean value) |
void |
setStepNrInFilename(boolean stepNrInFilename) |
void |
setTimeInFilename(boolean timeInFilename) |
void |
setUseGeoRSSGML(boolean usegeorssgml) |
void |
setVersion(String version) |
boolean |
useGeoRSSGML() |
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, supportsErrorHandling
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, supportsErrorHandling
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 nrfields)
public void allocateitem(int nrfields)
public void allocatenamespace(int nrnamespaces)
public String getVersion()
public void setVersion(String version)
version
- The version to set.public String getEncoding()
public void setEncoding(String encoding)
encoding
- The encoding to set.public String getFileNameField()
public void setFileNameField(String filenamefield)
encoding
- The encoding to set.public String getExtension()
public void setExtension(String extension)
extension
- The extension to set.public String getFileName()
public boolean isStepNrInFilename()
public void setStepNrInFilename(boolean stepNrInFilename)
stepNrInFilename
- The stepNrInFilename to set.public boolean isTimeInFilename()
public boolean isDateInFilename()
public void setDateInFilename(boolean dateInFilename)
dateInFilename
- The dateInFilename to set.public void setTimeInFilename(boolean timeInFilename)
timeInFilename
- The timeInFilename to set.public void setFileName(String fileName)
fileName
- The fileName to set.public boolean AddToResult()
public void setAddToResult(boolean AddToResult)
AddToResult
- The Add file to result to set.public void setCustomRss(boolean customrss)
customrss
- The custom RSS flag to set.public boolean isCustomRss()
public void setDisplayItem(boolean displayitem)
displayitem
- The display itema ta flag.public boolean isDisplayItem()
public boolean AddImage()
public void setAddImage(boolean addimage)
addimage
- The addimage to set.public boolean AddGeoRSS()
public void setAddGeoRSS(boolean addgeorss)
addgeorss
- The addgeorss to set.public boolean useGeoRSSGML()
public void setUseGeoRSSGML(boolean usegeorssgml)
usegeorssgml
- The usegeorssgml to set.public boolean isFilenameInField()
public void setFilenameInField(boolean isfilenameinfield)
isfilenameinfield
- The isfilenameinfield to set.public String[] getChannelCustomFields()
public void setChannelCustomFields(String[] ChannelCustomFields)
ChannelCustomFields
- The ChannelCustomFields to set.public String[] getNameSpaces()
public void setNameSpaces(String[] NameSpaces)
NameSpaces
- The NameSpaces to set.public String[] getNameSpacesTitle()
public void setNameSpacesTitle(String[] NameSpacesTitle)
NameSpacesTitle
- The NameSpacesTitle to set.public String[] getChannelCustomTags()
public void setChannelCustomTags(String[] ChannelCustomTags)
getChannelCustomTags
- The getChannelCustomTags to set.public String[] getItemCustomTags()
public void setItemCustomTags(String[] ItemCustomTags)
getChannelCustomTags
- The getChannelCustomTags to set.public String[] getItemCustomFields()
public void setItemCustomFields(String[] value)
value
- The ItemCustomFields to set.public boolean isCreateParentFolder()
public void setCreateParentFolder(boolean createparentfolder)
createparentfolder
- The create parent folder flag to set.public boolean isPartNrInFilename()
public void setPartNrInFilename(boolean value)
public String[] getFiles(VariableSpace space) throws KettleStepException
KettleStepException
public String buildFilename(VariableSpace space, int stepnr) throws KettleStepException
KettleStepException
public void setDefault()
StepMetaInterface
setDefault
in interface StepMetaInterface
public String getXML()
BaseStepMeta
getXML
in interface StepMetaInterface
getXML
in class BaseStepMeta
public 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 StepDataInterface getStepData()
StepMetaInterface
getStepData
in interface StepMetaInterface
public String getChannelTitle()
public String getChannelDescription()
public String getChannelLink()
public String getChannelPubDate()
public String getChannelImageLink()
public String getChannelImageUrl()
public String getChannelImageDescription()
public String getChannelImageTitle()
public String getChannelLanguage()
public String getChannelAuthor()
public void setChannelAuthor(String channelauthor)
channelauthor
- the channelauthor to setpublic void setChannelTitle(String channeltitle)
channeltitle
- the channeltitle to setpublic void setChannelLink(String channellink)
channellink
- the channellink to setpublic void setChannelPubDate(String channelpubdate)
channelpubdate
- the channelpubdate to setpublic void setChannelImageTitle(String channelimagetitle)
channelimagetitle
- the channelimagetitle to setpublic void setChannelImageLink(String channelimagelink)
channelimagelink
- the channelimagelink to setpublic void setChannelImageUrl(String channelimageurl)
channelimageurl
- the channelimageurl to setpublic void setChannelImageDescription(String channelimagedescription)
channelimagedescription
- the channelimagedescription to setpublic void setChannelLanguage(String channellanguage)
channellanguage
- the channellanguage to setpublic void setChannelDescription(String channeldescription)
channeldescription
- the channeldescription to setpublic String getItemTitle()
public String getGeoPointLat()
public void setGeoPointLat(String geopointlat)
geopointlat
- the geopointlat to setpublic String getGeoPointLong()
public void setGeoPointLong(String geopointlong)
geopointlong
- the geopointlong to setpublic String getItemDescription()
public String getItemLink()
public String getItemPubDate()
public String getItemAuthor()
public void setItemTitle(String itemtitle)
itemtitle
- the itemtitle to setpublic void setItemDescription(String itemdescription)
itemdescription
- the itemdescription to setpublic void setItemLink(String itemlink)
itemlink
- the itemlink to setpublic void setItemPubDate(String itempubdate)
itempubdate
- the itempubdate to setpublic void setItemAuthor(String itemauthor)
itemauthor
- the itemauthor to setpublic String getChannelCopyright()
public void setChannelCopyright(String channelcopyright)
channelcopyright
- the channelcopyright to setpublic 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 transformationCopyright © 2018 Hitachi Vantara. All rights reserved.