|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pentaho.di.job.entry.JobEntryBase
org.pentaho.di.job.entries.trans.JobEntryTrans
public class JobEntryTrans
This is the job entry that defines a transformation to be run.
| Field Summary | |
|---|---|
boolean |
addDate
|
boolean |
addTime
|
boolean |
argFromPrevious
|
String[] |
arguments
|
boolean |
clearResultFiles
|
boolean |
clearResultRows
|
boolean |
createParentFolder
|
boolean |
execPerRow
|
boolean |
followingAbortRemotely
|
String |
logext
|
String |
logfile
|
org.pentaho.di.core.logging.LogLevel |
logFileLevel
|
String[] |
parameterFieldNames
|
String[] |
parameters
|
String[] |
parameterValues
|
boolean |
paramsFromPrevious
|
boolean |
setAppendLogfile
|
boolean |
setLogfile
|
boolean |
waitingToFinish
|
| Constructor Summary | |
|---|---|
JobEntryTrans()
|
|
JobEntryTrans(String name)
|
|
| Method Summary | |
|---|---|
void |
check(List<org.pentaho.di.core.CheckResultInterface> remarks,
JobMeta jobMeta)
Support for overrides not having to put in a check method |
void |
clear()
|
Object |
clone()
|
boolean |
evaluates()
check whether or not this job entry evaluates. |
org.pentaho.di.core.Result |
execute(org.pentaho.di.core.Result result,
int nr)
Execute this job entry and return the result. |
String |
exportResources(org.pentaho.di.core.variables.VariableSpace space,
Map<String,ResourceDefinition> definitions,
ResourceNamingInterface namingInterface,
Repository repository)
We're going to load the transformation meta data referenced here. |
String |
getDirectory()
|
String |
getDirectoryPath()
|
String |
getFilename()
|
String |
getFileName()
Deprecated. use getFilename() instead |
String |
getLogFilename()
|
String |
getRealFilename()
|
String |
getRemoteSlaveServerName()
|
List<ResourceReference> |
getResourceDependencies(JobMeta jobMeta)
Get a list of all the resource dependencies that the step is depending on. |
org.pentaho.di.core.ObjectLocationSpecificationMethod |
getSpecificationMethod()
|
List<org.pentaho.di.core.SQLStatement> |
getSQLStatements(Repository repository)
|
List<org.pentaho.di.core.SQLStatement> |
getSQLStatements(Repository repository,
org.pentaho.di.core.variables.VariableSpace space)
|
Trans |
getTrans()
|
TransMeta |
getTransMeta(Repository rep,
org.pentaho.di.core.variables.VariableSpace space)
|
String |
getTransname()
|
org.pentaho.di.repository.ObjectId |
getTransObjectId()
|
String |
getXML()
|
boolean |
hasRepositoryReferences()
|
boolean |
isClustering()
|
boolean |
isFollowingAbortRemotely()
|
boolean |
isPassingAllParameters()
|
boolean |
isUnconditional()
|
boolean |
isWaitingToFinish()
|
void |
loadRep(Repository rep,
org.pentaho.di.repository.ObjectId id_jobentry,
List<org.pentaho.di.core.database.DatabaseMeta> databases,
List<SlaveServer> slaveServers)
|
void |
loadXML(Node entrynode,
List<org.pentaho.di.core.database.DatabaseMeta> databases,
List<SlaveServer> slaveServers,
Repository rep)
|
void |
lookupRepositoryReferences(Repository repository)
Look up the references after import |
void |
saveRep(Repository rep,
org.pentaho.di.repository.ObjectId id_job)
|
void |
setClustering(boolean clustering)
|
void |
setDirectory(String directory)
|
void |
setDirectoryPath(String directoryPath)
|
void |
setFileName(String n)
|
void |
setFollowingAbortRemotely(boolean followingAbortRemotely)
|
void |
setPassingAllParameters(boolean passingAllParameters)
|
void |
setRemoteSlaveServerName(String remoteSlaveServerName)
|
void |
setSpecificationMethod(org.pentaho.di.core.ObjectLocationSpecificationMethod specificationMethod)
|
void |
setTransname(String transname)
|
void |
setTransObjectId(org.pentaho.di.repository.ObjectId transObjectId)
|
void |
setWaitingToFinish(boolean waitingToFinish)
|
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.pentaho.di.job.entry.JobEntryInterface |
|---|
getDescription, getDialogClassName, getLogChannel, getName, getObjectId, getParentJob, getPluginId, getTypeId, getUsedDatabaseConnections, hasChanged, isDummy, isEvaluation, isJob, isMail, isShell, isSpecial, isStart, isTransformation, resetErrorsBeforeExecution, setChanged, setChanged, setDescription, setName, setObjectId, setParentJob, setPluginId, setRepository |
| Field Detail |
|---|
public String[] arguments
public boolean argFromPrevious
public boolean paramsFromPrevious
public boolean execPerRow
public String[] parameters
public String[] parameterFieldNames
public String[] parameterValues
public boolean clearResultRows
public boolean clearResultFiles
public boolean createParentFolder
public boolean setLogfile
public boolean setAppendLogfile
public String logfile
public String logext
public boolean addDate
public boolean addTime
public org.pentaho.di.core.logging.LogLevel logFileLevel
public boolean waitingToFinish
public boolean followingAbortRemotely
| Constructor Detail |
|---|
public JobEntryTrans(String name)
public JobEntryTrans()
| Method Detail |
|---|
public Object clone()
clone in interface JobEntryInterfaceclone in class JobEntryBasepublic void setFileName(String n)
public String getFileName()
public String getFilename()
getFilename in interface org.pentaho.di.core.logging.LoggingObjectInterfacegetFilename in interface JobEntryInterfacegetFilename in class JobEntryBasepublic String getRealFilename()
getRealFilename in interface JobEntryInterfacegetRealFilename in class JobEntryBasepublic void setTransname(String transname)
public String getTransname()
public String getDirectory()
public void setDirectory(String directory)
public String getLogFilename()
public String getXML()
getXML in interface JobEntryInterfacegetXML in class JobEntryBase
public void loadXML(Node entrynode,
List<org.pentaho.di.core.database.DatabaseMeta> databases,
List<SlaveServer> slaveServers,
Repository rep)
throws org.pentaho.di.core.exception.KettleXMLException
loadXML in interface JobEntryInterfaceorg.pentaho.di.core.exception.KettleXMLException
public void loadRep(Repository rep,
org.pentaho.di.repository.ObjectId id_jobentry,
List<org.pentaho.di.core.database.DatabaseMeta> databases,
List<SlaveServer> slaveServers)
throws org.pentaho.di.core.exception.KettleException
loadRep in interface JobEntryInterfaceloadRep in class JobEntryBaseorg.pentaho.di.core.exception.KettleException
public void saveRep(Repository rep,
org.pentaho.di.repository.ObjectId id_job)
throws org.pentaho.di.core.exception.KettleException
saveRep in interface JobEntryInterfacesaveRep in class JobEntryBaseorg.pentaho.di.core.exception.KettleExceptionpublic void clear()
clear in interface JobEntryInterfaceclear in class JobEntryBase
public org.pentaho.di.core.Result execute(org.pentaho.di.core.Result result,
int nr)
throws org.pentaho.di.core.exception.KettleException
execute in interface JobEntryInterfaceresult - The result of the previous executionnr - the job entry numberrep - the repository connection to useparentJob - the parent job
org.pentaho.di.core.exception.KettleException
public TransMeta getTransMeta(Repository rep,
org.pentaho.di.core.variables.VariableSpace space)
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic boolean evaluates()
JobEntryBase
evaluates in interface JobEntryInterfaceevaluates in class JobEntryBasepublic boolean isUnconditional()
isUnconditional in interface JobEntryInterfaceisUnconditional in class JobEntryBase
public List<org.pentaho.di.core.SQLStatement> getSQLStatements(Repository repository,
org.pentaho.di.core.variables.VariableSpace space)
throws org.pentaho.di.core.exception.KettleException
getSQLStatements in interface JobEntryInterfacegetSQLStatements in class JobEntryBaseorg.pentaho.di.core.exception.KettleException
public List<org.pentaho.di.core.SQLStatement> getSQLStatements(Repository repository)
throws org.pentaho.di.core.exception.KettleException
getSQLStatements in interface JobEntryInterfacegetSQLStatements in class JobEntryBaseorg.pentaho.di.core.exception.KettleExceptionpublic String getDirectoryPath()
public void setDirectoryPath(String directoryPath)
directoryPath - The directoryPath to set.public boolean isClustering()
public void setClustering(boolean clustering)
clustering - the clustering to set
public void check(List<org.pentaho.di.core.CheckResultInterface> remarks,
JobMeta jobMeta)
JobEntryBase
check in interface JobEntryInterfacecheck in class JobEntryBaseremarks - CheckResults from checking the job entryjobMeta - JobMeta information letting threading back to the JobMeta possiblepublic List<ResourceReference> getResourceDependencies(JobMeta jobMeta)
JobEntryBase
getResourceDependencies in interface JobEntryInterfacegetResourceDependencies in class JobEntryBase
public String exportResources(org.pentaho.di.core.variables.VariableSpace space,
Map<String,ResourceDefinition> definitions,
ResourceNamingInterface namingInterface,
Repository repository)
throws org.pentaho.di.core.exception.KettleException
exportResources in interface JobEntryInterfaceexportResources in class JobEntryBasespace - The variable space to resolve (environment) variables with.definitions - The map containing the filenames and contentnamingInterface - The resource naming interface allows the object to name appropriatelyrepository - The repository to load resources from
org.pentaho.di.core.exception.KettleException - in case something goes wrong during the exportpublic String getRemoteSlaveServerName()
public void setRemoteSlaveServerName(String remoteSlaveServerName)
remoteSlaveServerName - the remote slave server name to setpublic boolean isWaitingToFinish()
public void setWaitingToFinish(boolean waitingToFinish)
waitingToFinish - the waitingToFinish to setpublic boolean isFollowingAbortRemotely()
public void setFollowingAbortRemotely(boolean followingAbortRemotely)
followingAbortRemotely - the followingAbortRemotely to setpublic boolean isPassingAllParameters()
public void setPassingAllParameters(boolean passingAllParameters)
passingAllParameters - the passingAllParameters to setpublic Trans getTrans()
public org.pentaho.di.repository.ObjectId getTransObjectId()
public void setTransObjectId(org.pentaho.di.repository.ObjectId transObjectId)
transObjectId - the transObjectId to setpublic org.pentaho.di.core.ObjectLocationSpecificationMethod getSpecificationMethod()
public void setSpecificationMethod(org.pentaho.di.core.ObjectLocationSpecificationMethod specificationMethod)
specificationMethod - the specificationMethod to setpublic boolean hasRepositoryReferences()
hasRepositoryReferences in interface JobEntryInterfacehasRepositoryReferences in class JobEntryBase
public void lookupRepositoryReferences(Repository repository)
throws org.pentaho.di.core.exception.KettleException
lookupRepositoryReferences in interface JobEntryInterfacelookupRepositoryReferences in class JobEntryBaserepository - the repository to reference.
org.pentaho.di.core.exception.KettleException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||