|
||||||||||
| 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.job.JobEntryJob
public class JobEntryJob
Recursive definition of a Job. This step means that an entire Job has to be executed. It can be the same Job, but just make sure that you don't get an endless loop. Provide an escape routine using JobEval.
| Field Summary | |
|---|---|
boolean |
addDate
|
boolean |
addTime
|
boolean |
argFromPrevious
|
String[] |
arguments
|
boolean |
createParentFolder
|
static org.pentaho.di.core.logging.LogLevel |
DEFAULT_LOG_LEVEL
|
boolean |
execPerRow
|
boolean |
followingAbortRemotely
|
String |
logext
|
String |
logfile
|
org.pentaho.di.core.logging.LogLevel |
logFileLevel
|
boolean |
parallel
|
String[] |
parameterFieldNames
|
String[] |
parameters
|
String[] |
parameterValues
|
boolean |
paramsFromPrevious
|
boolean |
passingAllParameters
|
boolean |
setAppendLogfile
|
boolean |
setLogfile
|
boolean |
waitingToFinish
|
| Constructor Summary | |
|---|---|
JobEntryJob()
|
|
JobEntryJob(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)
|
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 |
getFilename()
|
String |
getFileName()
Deprecated. use getFilename() instead. |
Job |
getJob()
|
JobMeta |
getJobMeta(Repository rep,
org.pentaho.di.core.variables.VariableSpace space)
|
String |
getJobName()
|
org.pentaho.di.repository.ObjectId |
getJobObjectId()
|
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)
|
String |
getXML()
|
boolean |
hasRepositoryReferences()
|
boolean |
isExecPerRow()
|
boolean |
isFollowingAbortRemotely()
|
boolean |
isPassingAllParameters()
|
boolean |
isPassingExport()
|
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)
Load the jobentry from repository |
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 |
static void |
main(String[] args)
|
void |
saveRep(Repository rep,
org.pentaho.di.repository.ObjectId id_job)
|
void |
setDirectory(String directory)
|
void |
setExecPerRow(boolean runEveryResultRow)
|
void |
setFileName(String n)
|
void |
setFollowingAbortRemotely(boolean followingAbortRemotely)
|
void |
setJobName(String jobname)
|
void |
setJobObjectId(org.pentaho.di.repository.ObjectId jobObjectId)
|
void |
setPassingAllParameters(boolean passingAllParameters)
|
void |
setPassingExport(boolean passingExport)
|
void |
setRemoteSlaveServerName(String remoteSlaveServerName)
|
void |
setSpecificationMethod(org.pentaho.di.core.ObjectLocationSpecificationMethod specificationMethod)
|
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 setLogfile
public String logfile
public String logext
public boolean addDate
public boolean addTime
public org.pentaho.di.core.logging.LogLevel logFileLevel
public boolean parallel
public boolean setAppendLogfile
public boolean createParentFolder
public boolean waitingToFinish
public boolean followingAbortRemotely
public boolean passingAllParameters
public static final org.pentaho.di.core.logging.LogLevel DEFAULT_LOG_LEVEL
| Constructor Detail |
|---|
public JobEntryJob(String name)
public JobEntryJob()
| 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 setJobName(String jobname)
public String getJobName()
public String getDirectory()
public void setDirectory(String directory)
public boolean isPassingExport()
public void setPassingExport(boolean passingExport)
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.KettleException
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 JobEntryInterfaceorg.pentaho.di.core.exception.KettleExceptionpublic void clear()
clear in interface JobEntryInterfaceclear in class JobEntryBasepublic 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)
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,
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 JobMeta getJobMeta(Repository rep,
org.pentaho.di.core.variables.VariableSpace space)
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic boolean isExecPerRow()
public void setExecPerRow(boolean runEveryResultRow)
runEveryResultRow - The runEveryResultRow to set.public 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 export
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 static void main(String[] args)
public String getRemoteSlaveServerName()
public void setRemoteSlaveServerName(String remoteSlaveServerName)
remoteSlaveServerName - the remoteSlaveServer 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 Job getJob()
public org.pentaho.di.repository.ObjectId getJobObjectId()
public void setJobObjectId(org.pentaho.di.repository.ObjectId jobObjectId)
jobObjectId - the jobObjectId 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 | |||||||||