Package org.pentaho.di.trans
Class TransExecutionConfiguration
java.lang.Object
org.pentaho.di.trans.TransExecutionConfiguration
- All Implemented Interfaces:
Cloneable
,ExecutionConfiguration
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
connectRepository
(RepositoriesMeta repositoriesMeta, String repositoryName, String username, String password) void
getAllVariables
(TransMeta transMeta) String[]
org.pentaho.di.core.logging.LogLevel
org.pentaho.di.core.Result
void
getUsedArguments
(TransMeta transMeta, String[] commandLineArguments) void
getUsedVariables
(TransMeta transMeta) getXML()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
setArguments
(Map<String, String> arguments) void
setArgumentStrings
(String[] arguments) void
setClearingLog
(boolean clearingLog) void
setClusterPosting
(boolean clusterPosting) void
setClusterPreparing
(boolean clusterPreparing) void
setClusterShowingTransformation
(boolean showingTransformations) void
setClusterStarting
(boolean notExecuting) void
setCreateParentFolder
(boolean createParentFolder) void
setExecutingClustered
(boolean clusteredExecution) void
setExecutingLocally
(boolean localExecution) void
setExecutingRemotely
(boolean remoteExecution) void
setGatheringMetrics
(boolean gatheringMetrics) void
setLogFileName
(String fileName) void
setLogLevel
(org.pentaho.di.core.logging.LogLevel logLevel) void
setLogRemoteExecutionLocally
(boolean logRemoteExecutionLocally) 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
setSetAppendLogfile
(boolean setAppendLogfile) void
setSetLogfile
(boolean setLogfile) void
setShowingSubComponents
(boolean showingSubComponents) void
setTransDebugMeta
(TransDebugMeta transDebugMeta) void
setVariables
(Map<String, String> variables) void
setVariables
(org.pentaho.di.core.variables.VariableSpace space)
-
Field Details
-
XML_TAG
- See Also:
-
-
Constructor Details
-
TransExecutionConfiguration
public TransExecutionConfiguration() -
TransExecutionConfiguration
public TransExecutionConfiguration(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
-
isExecutingClustered
public boolean isExecutingClustered()- Returns:
- the clusteredExecution
-
setExecutingClustered
public void setExecutingClustered(boolean clusteredExecution) - Parameters:
clusteredExecution
- the clusteredExecution to set
-
isClusterStarting
public boolean isClusterStarting()- Returns:
- the notExecuting
-
setClusterStarting
public void setClusterStarting(boolean notExecuting) - Parameters:
notExecuting
- the notExecuting to set
-
isClusterShowingTransformation
public boolean isClusterShowingTransformation()- Returns:
- the showingTransformations
-
setClusterShowingTransformation
public void setClusterShowingTransformation(boolean showingTransformations) - Parameters:
showingTransformations
- the showingTransformations 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
-
isClusterPosting
public boolean isClusterPosting()- Returns:
- the clusterPosting
-
setClusterPosting
public void setClusterPosting(boolean clusterPosting) - Parameters:
clusterPosting
- the clusterPosting 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
-
isClusterPreparing
public boolean isClusterPreparing()- Returns:
- the clusterPreparing
-
setClusterPreparing
public void setClusterPreparing(boolean clusterPreparing) - Parameters:
clusterPreparing
- the clusterPreparing to set
-
getRemoteServer
- Specified by:
getRemoteServer
in interfaceExecutionConfiguration
- Returns:
- the remoteServer
-
setRemoteServer
- Specified by:
setRemoteServer
in interfaceExecutionConfiguration
- Parameters:
remoteServer
- the remoteServer to set
-
getAllVariables
-
getUsedVariables
-
getUsedArguments
-
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
-
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(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
-
getTransDebugMeta
- Returns:
- the transDebugMeta
-
setTransDebugMeta
- Parameters:
transDebugMeta
- the transDebugMeta to set
-
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
-
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
-
isShowingSubComponents
public boolean isShowingSubComponents()- Returns:
- the showingSubComponents
-
setShowingSubComponents
public void setShowingSubComponents(boolean showingSubComponents) - Parameters:
showingSubComponents
- the showingSubComponents to set
-
isSetLogfile
public boolean isSetLogfile() -
setSetLogfile
public void setSetLogfile(boolean setLogfile) -
isSetAppendLogfile
public boolean isSetAppendLogfile() -
setSetAppendLogfile
public void setSetAppendLogfile(boolean setAppendLogfile) -
getLogFileName
-
setLogFileName
-
isCreateParentFolder
public boolean isCreateParentFolder() -
setCreateParentFolder
public void setCreateParentFolder(boolean createParentFolder) -
getPassedBatchId
- Specified by:
getPassedBatchId
in interfaceExecutionConfiguration
-
setPassedBatchId
- Specified by:
setPassedBatchId
in interfaceExecutionConfiguration
-
getRunConfiguration
- Specified by:
getRunConfiguration
in interfaceExecutionConfiguration
-
setRunConfiguration
- Specified by:
setRunConfiguration
in interfaceExecutionConfiguration
-
isLogRemoteExecutionLocally
public boolean isLogRemoteExecutionLocally() -
setLogRemoteExecutionLocally
public void setLogRemoteExecutionLocally(boolean logRemoteExecutionLocally)
-