Package org.pentaho.di.job
Class JobExecutionConfiguration
java.lang.Object
org.pentaho.di.job.JobExecutionConfiguration
- All Implemented Interfaces:
Cloneable
,ExecutionConfiguration
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
connectRepository
(String repositoryName, String username, String password) connectRepository
(RepositoriesMeta repositoriesMeta, String repositoryName, String username, String password) String[]
org.pentaho.di.core.logging.LogLevel
org.pentaho.di.core.Result
int
void
getUsedArguments
(JobMeta jobMeta, String[] commandLineArguments, org.pentaho.metastore.api.IMetaStore metaStore) void
getUsedVariables
(JobMeta jobMeta) getXML()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
setArguments
(Map<String, String> arguments) void
setArgumentStrings
(String[] arguments) void
setClearingLog
(boolean clearingLog) void
setExecutingLocally
(boolean localExecution) void
setExecutingRemotely
(boolean remoteExecution) void
setExpandingRemoteJob
(boolean expandingRemoteJob) void
setExtensionOptions
(Map<String, String> extensionOptions) void
setGatheringMetrics
(boolean gatheringMetrics) void
setLogLevel
(org.pentaho.di.core.logging.LogLevel logLevel) void
void
setPassedBatchId
(Long passedBatchId) void
setPassingExport
(boolean passingExport) void
setPreviousResult
(org.pentaho.di.core.Result previousResult) void
setRemoteServer
(SlaveServer remoteServer) void
setReplayDate
(Date replayDate) void
setRepository
(Repository repository) void
setRunConfiguration
(String runConfiguration) void
setSafeModeEnabled
(boolean usingSafeMode) void
setStartCopyName
(String startCopyName) void
setStartCopyNr
(int startCopyNr) void
setVariables
(Map<String, String> variables) void
setVariables
(org.pentaho.di.core.variables.VariableSpace space)
-
Field Details
-
XML_TAG
- See Also:
-
-
Constructor Details
-
JobExecutionConfiguration
public JobExecutionConfiguration() -
JobExecutionConfiguration
public JobExecutionConfiguration(Node trecNode) throws org.pentaho.di.core.exception.KettleException - Throws:
org.pentaho.di.core.exception.KettleException
-
-
Method Details
-
clone
- Specified by:
clone
in interfaceExecutionConfiguration
- Overrides:
clone
in classObject
-
getArguments
- Specified by:
getArguments
in interfaceExecutionConfiguration
- Returns:
- the arguments
-
setArguments
- Specified by:
setArguments
in interfaceExecutionConfiguration
- Parameters:
arguments
- the arguments to set
-
setParams
- Specified by:
setParams
in interfaceExecutionConfiguration
- Parameters:
params
- the parameters to set
-
getParams
- Specified by:
getParams
in interfaceExecutionConfiguration
- Returns:
- the parameters.
-
setArgumentStrings
- Specified by:
setArgumentStrings
in interfaceExecutionConfiguration
- Parameters:
arguments
- the arguments to set
-
getVariables
- Specified by:
getVariables
in interfaceExecutionConfiguration
- Returns:
- the variables
-
setVariables
- Specified by:
setVariables
in interfaceExecutionConfiguration
- Parameters:
variables
- the variables to set
-
setVariables
public void setVariables(org.pentaho.di.core.variables.VariableSpace space) - Specified by:
setVariables
in interfaceExecutionConfiguration
-
isExecutingRemotely
public boolean isExecutingRemotely()- Specified by:
isExecutingRemotely
in interfaceExecutionConfiguration
- Returns:
- the remoteExecution
-
setExecutingRemotely
public void setExecutingRemotely(boolean remoteExecution) - Specified by:
setExecutingRemotely
in interfaceExecutionConfiguration
- Parameters:
remoteExecution
- the remoteExecution to set
-
isExecutingLocally
public boolean isExecutingLocally()- Specified by:
isExecutingLocally
in interfaceExecutionConfiguration
- Returns:
- the localExecution
-
setExecutingLocally
public void setExecutingLocally(boolean localExecution) - Specified by:
setExecutingLocally
in interfaceExecutionConfiguration
- Parameters:
localExecution
- the localExecution to set
-
getRemoteServer
- Specified by:
getRemoteServer
in interfaceExecutionConfiguration
- Returns:
- the remoteServer
-
setRemoteServer
- Specified by:
setRemoteServer
in interfaceExecutionConfiguration
- Parameters:
remoteServer
- the remoteServer to set
-
getUsedVariables
-
getReplayDate
- Specified by:
getReplayDate
in interfaceExecutionConfiguration
- Returns:
- the replayDate
-
setReplayDate
- Specified by:
setReplayDate
in interfaceExecutionConfiguration
- Parameters:
replayDate
- the replayDate to set
-
isSafeModeEnabled
public boolean isSafeModeEnabled()- Specified by:
isSafeModeEnabled
in interfaceExecutionConfiguration
- Returns:
- the usingSafeMode
-
setSafeModeEnabled
public void setSafeModeEnabled(boolean usingSafeMode) - Specified by:
setSafeModeEnabled
in interfaceExecutionConfiguration
- Parameters:
usingSafeMode
- the usingSafeMode to set
-
getRunConfiguration
- Specified by:
getRunConfiguration
in interfaceExecutionConfiguration
-
setRunConfiguration
- Specified by:
setRunConfiguration
in interfaceExecutionConfiguration
-
getLogLevel
public org.pentaho.di.core.logging.LogLevel getLogLevel()- Specified by:
getLogLevel
in interfaceExecutionConfiguration
- Returns:
- the logLevel
-
setLogLevel
public void setLogLevel(org.pentaho.di.core.logging.LogLevel logLevel) - Specified by:
setLogLevel
in interfaceExecutionConfiguration
- Parameters:
logLevel
- the logLevel to set
-
getXML
- Specified by:
getXML
in interfaceExecutionConfiguration
- Throws:
IOException
-
connectRepository
public Repository connectRepository(String repositoryName, String username, String password) throws org.pentaho.di.core.exception.KettleException - Throws:
org.pentaho.di.core.exception.KettleException
-
connectRepository
public Repository connectRepository(RepositoriesMeta repositoriesMeta, String repositoryName, String username, String password) throws org.pentaho.di.core.exception.KettleException - Specified by:
connectRepository
in interfaceExecutionConfiguration
- Throws:
org.pentaho.di.core.exception.KettleException
-
getArgumentStrings
- Specified by:
getArgumentStrings
in interfaceExecutionConfiguration
-
getPreviousResult
public org.pentaho.di.core.Result getPreviousResult()- Specified by:
getPreviousResult
in interfaceExecutionConfiguration
- Returns:
- the previousResult
-
setPreviousResult
public void setPreviousResult(org.pentaho.di.core.Result previousResult) - Specified by:
setPreviousResult
in interfaceExecutionConfiguration
- Parameters:
previousResult
- the previousResult to set
-
getRepository
- Specified by:
getRepository
in interfaceExecutionConfiguration
- Returns:
- the repository
-
setRepository
- Specified by:
setRepository
in interfaceExecutionConfiguration
- Parameters:
repository
- the repository to set
-
isClearingLog
public boolean isClearingLog()- Specified by:
isClearingLog
in interfaceExecutionConfiguration
- Returns:
- the clearingLog
-
setClearingLog
public void setClearingLog(boolean clearingLog) - Specified by:
setClearingLog
in interfaceExecutionConfiguration
- Parameters:
clearingLog
- the clearingLog to set
-
isPassingExport
public boolean isPassingExport()- Specified by:
isPassingExport
in interfaceExecutionConfiguration
- Returns:
- the passingExport
-
setPassingExport
public void setPassingExport(boolean passingExport) - Specified by:
setPassingExport
in interfaceExecutionConfiguration
- Parameters:
passingExport
- the passingExport to set
-
getStartCopyName
- Returns:
- the startCopyName
-
setStartCopyName
- Parameters:
startCopyName
- the startCopyName to set
-
getStartCopyNr
public int getStartCopyNr()- Returns:
- the startCopyNr
-
setStartCopyNr
public void setStartCopyNr(int startCopyNr) - Parameters:
startCopyNr
- the startCopyNr to set
-
isGatheringMetrics
public boolean isGatheringMetrics()- Specified by:
isGatheringMetrics
in interfaceExecutionConfiguration
- Returns:
- the gatheringMetrics
-
setGatheringMetrics
public void setGatheringMetrics(boolean gatheringMetrics) - Specified by:
setGatheringMetrics
in interfaceExecutionConfiguration
- Parameters:
gatheringMetrics
- the gatheringMetrics to set
-
setExpandingRemoteJob
public void setExpandingRemoteJob(boolean expandingRemoteJob) -
isExpandingRemoteJob
public boolean isExpandingRemoteJob() -
getExtensionOptions
-
setExtensionOptions
-
getPassedBatchId
- Specified by:
getPassedBatchId
in interfaceExecutionConfiguration
-
setPassedBatchId
- Specified by:
setPassedBatchId
in interfaceExecutionConfiguration
-
getUsedArguments
-