Class TransExecutionConfiguration

java.lang.Object
org.pentaho.di.trans.TransExecutionConfiguration
All Implemented Interfaces:
Cloneable, ExecutionConfiguration

public class TransExecutionConfiguration extends Object implements ExecutionConfiguration
  • Field Details

  • 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

      public Object clone()
      Specified by:
      clone in interface ExecutionConfiguration
      Overrides:
      clone in class Object
    • getArguments

      public Map<String,String> getArguments()
      Specified by:
      getArguments in interface ExecutionConfiguration
      Returns:
      the arguments
    • setArguments

      public void setArguments(Map<String,String> arguments)
      Specified by:
      setArguments in interface ExecutionConfiguration
      Parameters:
      arguments - the arguments to set
    • setParams

      public void setParams(Map<String,String> params)
      Specified by:
      setParams in interface ExecutionConfiguration
      Parameters:
      params - the parameters to set
    • getParams

      public Map<String,String> getParams()
      Specified by:
      getParams in interface ExecutionConfiguration
      Returns:
      the parameters.
    • setArgumentStrings

      public void setArgumentStrings(String[] arguments)
      Specified by:
      setArgumentStrings in interface ExecutionConfiguration
      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 interface ExecutionConfiguration
      Returns:
      the variables
    • setVariables

      public void setVariables(Map<String,String> variables)
      Specified by:
      setVariables in interface ExecutionConfiguration
      Parameters:
      variables - the variables to set
    • setVariables

      public void setVariables(org.pentaho.di.core.variables.VariableSpace space)
      Specified by:
      setVariables in interface ExecutionConfiguration
    • isExecutingRemotely

      public boolean isExecutingRemotely()
      Specified by:
      isExecutingRemotely in interface ExecutionConfiguration
      Returns:
      the remoteExecution
    • setExecutingRemotely

      public void setExecutingRemotely(boolean remoteExecution)
      Specified by:
      setExecutingRemotely in interface ExecutionConfiguration
      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 interface ExecutionConfiguration
      Returns:
      the localExecution
    • setExecutingLocally

      public void setExecutingLocally(boolean localExecution)
      Specified by:
      setExecutingLocally in interface ExecutionConfiguration
      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 interface ExecutionConfiguration
      Returns:
      the remoteServer
    • setRemoteServer

      public void setRemoteServer(SlaveServer remoteServer)
      Specified by:
      setRemoteServer in interface ExecutionConfiguration
      Parameters:
      remoteServer - the remoteServer to set
    • getAllVariables

      public void getAllVariables(TransMeta transMeta)
    • getUsedVariables

      public void getUsedVariables(TransMeta transMeta)
    • getUsedArguments

      public void getUsedArguments(TransMeta transMeta, String[] commandLineArguments)
    • getReplayDate

      public Date getReplayDate()
      Specified by:
      getReplayDate in interface ExecutionConfiguration
      Returns:
      the replayDate
    • setReplayDate

      public void setReplayDate(Date replayDate)
      Specified by:
      setReplayDate in interface ExecutionConfiguration
      Parameters:
      replayDate - the replayDate to set
    • isSafeModeEnabled

      public boolean isSafeModeEnabled()
      Specified by:
      isSafeModeEnabled in interface ExecutionConfiguration
      Returns:
      the usingSafeMode
    • setSafeModeEnabled

      public void setSafeModeEnabled(boolean usingSafeMode)
      Specified by:
      setSafeModeEnabled in interface ExecutionConfiguration
      Parameters:
      usingSafeMode - the usingSafeMode to set
    • getLogLevel

      public org.pentaho.di.core.logging.LogLevel getLogLevel()
      Specified by:
      getLogLevel in interface ExecutionConfiguration
      Returns:
      the logLevel
    • setLogLevel

      public void setLogLevel(org.pentaho.di.core.logging.LogLevel logLevel)
      Specified by:
      setLogLevel in interface ExecutionConfiguration
      Parameters:
      logLevel - the logLevel to set
    • getXML

      public String getXML() throws IOException
      Specified by:
      getXML in interface ExecutionConfiguration
      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 interface ExecutionConfiguration
      Throws:
      org.pentaho.di.core.exception.KettleException
    • getArgumentStrings

      public String[] getArgumentStrings()
      Specified by:
      getArgumentStrings in interface ExecutionConfiguration
    • 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 interface ExecutionConfiguration
      Returns:
      the previousResult
    • setPreviousResult

      public void setPreviousResult(org.pentaho.di.core.Result previousResult)
      Specified by:
      setPreviousResult in interface ExecutionConfiguration
      Parameters:
      previousResult - the previousResult to set
    • getRepository

      public Repository getRepository()
      Specified by:
      getRepository in interface ExecutionConfiguration
      Returns:
      the repository
    • setRepository

      public void setRepository(Repository repository)
      Specified by:
      setRepository in interface ExecutionConfiguration
      Parameters:
      repository - the repository to set
    • isClearingLog

      public boolean isClearingLog()
      Specified by:
      isClearingLog in interface ExecutionConfiguration
      Returns:
      the clearingLog
    • setClearingLog

      public void setClearingLog(boolean clearingLog)
      Specified by:
      setClearingLog in interface ExecutionConfiguration
      Parameters:
      clearingLog - the clearingLog to set
    • isPassingExport

      public boolean isPassingExport()
      Specified by:
      isPassingExport in interface ExecutionConfiguration
      Returns:
      the passingExport
    • setPassingExport

      public void setPassingExport(boolean passingExport)
      Specified by:
      setPassingExport in interface ExecutionConfiguration
      Parameters:
      passingExport - the passingExport to set
    • isGatheringMetrics

      public boolean isGatheringMetrics()
      Specified by:
      isGatheringMetrics in interface ExecutionConfiguration
      Returns:
      the gatheringMetrics
    • setGatheringMetrics

      public void setGatheringMetrics(boolean gatheringMetrics)
      Specified by:
      setGatheringMetrics in interface ExecutionConfiguration
      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 interface ExecutionConfiguration
    • setPassedBatchId

      public void setPassedBatchId(Long passedBatchId)
      Specified by:
      setPassedBatchId in interface ExecutionConfiguration
    • getRunConfiguration

      public String getRunConfiguration()
      Specified by:
      getRunConfiguration in interface ExecutionConfiguration
    • setRunConfiguration

      public void setRunConfiguration(String runConfiguration)
      Specified by:
      setRunConfiguration in interface ExecutionConfiguration
    • isLogRemoteExecutionLocally

      public boolean isLogRemoteExecutionLocally()
    • setLogRemoteExecutionLocally

      public void setLogRemoteExecutionLocally(boolean logRemoteExecutionLocally)