Package org.pentaho.di.trans
Class TransExecutionConfiguration
- java.lang.Object
-
- org.pentaho.di.trans.TransExecutionConfiguration
-
- All Implemented Interfaces:
Cloneable
,ExecutionConfiguration
public class TransExecutionConfiguration extends Object implements ExecutionConfiguration
-
-
Constructor Summary
Constructors Constructor Description TransExecutionConfiguration()
TransExecutionConfiguration(Node trecNode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
Repository
connectRepository(RepositoriesMeta repositoriesMeta, String repositoryName, String username, String password)
void
getAllVariables(TransMeta transMeta)
Map<String,String>
getArguments()
String[]
getArgumentStrings()
String
getLogFileName()
org.pentaho.di.core.logging.LogLevel
getLogLevel()
Map<String,String>
getParams()
Long
getPassedBatchId()
org.pentaho.di.core.Result
getPreviousResult()
SlaveServer
getRemoteServer()
Date
getReplayDate()
Repository
getRepository()
String
getRunConfiguration()
TransDebugMeta
getTransDebugMeta()
void
getUsedArguments(TransMeta transMeta, String[] commandLineArguments)
void
getUsedVariables(TransMeta transMeta)
Map<String,String>
getVariables()
String
getXML()
boolean
isClearingLog()
boolean
isClusterPosting()
boolean
isClusterPreparing()
boolean
isClusterShowingTransformation()
boolean
isClusterStarting()
boolean
isCreateParentFolder()
boolean
isExecutingClustered()
boolean
isExecutingLocally()
boolean
isExecutingRemotely()
boolean
isGatheringMetrics()
boolean
isLogRemoteExecutionLocally()
boolean
isPassingExport()
boolean
isSafeModeEnabled()
boolean
isSetAppendLogfile()
boolean
isSetLogfile()
boolean
isShowingSubComponents()
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
setParams(Map<String,String> params)
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 Detail
-
XML_TAG
public static final String XML_TAG
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TransExecutionConfiguration
public TransExecutionConfiguration()
-
TransExecutionConfiguration
public TransExecutionConfiguration(Node trecNode) throws org.pentaho.di.core.exception.KettleException
- Throws:
org.pentaho.di.core.exception.KettleException
-
-
Method Detail
-
clone
public Object clone()
- Specified by:
clone
in interfaceExecutionConfiguration
- Overrides:
clone
in classObject
-
getArguments
public Map<String,String> getArguments()
- Specified by:
getArguments
in interfaceExecutionConfiguration
- Returns:
- the arguments
-
setArguments
public void setArguments(Map<String,String> arguments)
- Specified by:
setArguments
in interfaceExecutionConfiguration
- Parameters:
arguments
- the arguments to set
-
setParams
public void setParams(Map<String,String> params)
- Specified by:
setParams
in interfaceExecutionConfiguration
- Parameters:
params
- the parameters to set
-
getParams
public Map<String,String> getParams()
- Specified by:
getParams
in interfaceExecutionConfiguration
- Returns:
- the parameters.
-
setArgumentStrings
public void setArgumentStrings(String[] arguments)
- 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
public Map<String,String> getVariables()
- Specified by:
getVariables
in interfaceExecutionConfiguration
- Returns:
- the variables
-
setVariables
public void setVariables(Map<String,String> variables)
- 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
public SlaveServer getRemoteServer()
- Specified by:
getRemoteServer
in interfaceExecutionConfiguration
- Returns:
- the remoteServer
-
setRemoteServer
public void setRemoteServer(SlaveServer remoteServer)
- Specified by:
setRemoteServer
in interfaceExecutionConfiguration
- Parameters:
remoteServer
- the remoteServer to set
-
getAllVariables
public void getAllVariables(TransMeta transMeta)
-
getUsedVariables
public void getUsedVariables(TransMeta transMeta)
-
getReplayDate
public Date getReplayDate()
- Specified by:
getReplayDate
in interfaceExecutionConfiguration
- Returns:
- the replayDate
-
setReplayDate
public void setReplayDate(Date replayDate)
- 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
public String getXML() throws IOException
- 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
public String[] getArgumentStrings()
- Specified by:
getArgumentStrings
in interfaceExecutionConfiguration
-
getTransDebugMeta
public TransDebugMeta getTransDebugMeta()
- Returns:
- the transDebugMeta
-
setTransDebugMeta
public void setTransDebugMeta(TransDebugMeta transDebugMeta)
- 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
public Repository getRepository()
- Specified by:
getRepository
in interfaceExecutionConfiguration
- Returns:
- the repository
-
setRepository
public void setRepository(Repository repository)
- 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
public String getLogFileName()
-
setLogFileName
public void setLogFileName(String fileName)
-
isCreateParentFolder
public boolean isCreateParentFolder()
-
setCreateParentFolder
public void setCreateParentFolder(boolean createParentFolder)
-
getPassedBatchId
public Long getPassedBatchId()
- Specified by:
getPassedBatchId
in interfaceExecutionConfiguration
-
setPassedBatchId
public void setPassedBatchId(Long passedBatchId)
- Specified by:
setPassedBatchId
in interfaceExecutionConfiguration
-
getRunConfiguration
public String getRunConfiguration()
- Specified by:
getRunConfiguration
in interfaceExecutionConfiguration
-
setRunConfiguration
public void setRunConfiguration(String runConfiguration)
- Specified by:
setRunConfiguration
in interfaceExecutionConfiguration
-
isLogRemoteExecutionLocally
public boolean isLogRemoteExecutionLocally()
-
setLogRemoteExecutionLocally
public void setLogRemoteExecutionLocally(boolean logRemoteExecutionLocally)
-
-