public class CurrentDirectoryResolver extends Object
Const.INTERNAL_VARIABLE_ENTRY_CURRENT_DIRECTORY
Const.INTERNAL_VARIABLE_JOB_FILENAME_DIRECTORY
Const.INTERNAL_VARIABLE_TRANSFORMATION_FILENAME_DIRECTORY
Const.INTERNAL_VARIABLE_JOB_FILENAME_NAME| 构造器和说明 |
|---|
CurrentDirectoryResolver() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
normalizeSlashes(String str) |
org.pentaho.di.core.variables.VariableSpace |
resolveCurrentDirectory(org.pentaho.di.core.ObjectLocationSpecificationMethod specificationMethod,
org.pentaho.di.core.variables.VariableSpace parentVariables,
Repository repository,
Job job,
String filename) |
org.pentaho.di.core.variables.VariableSpace |
resolveCurrentDirectory(org.pentaho.di.core.ObjectLocationSpecificationMethod specificationMethod,
org.pentaho.di.core.variables.VariableSpace parentVariables,
Repository repository,
StepMeta stepMeta,
String filename) |
org.pentaho.di.core.variables.VariableSpace |
resolveCurrentDirectory(org.pentaho.di.core.variables.VariableSpace parentVariables,
org.pentaho.di.repository.RepositoryDirectoryInterface directory,
String filename)
The logic of this method:
if we have directory we return the child var space with directory used as system property
if we have not directory we return the child var space with directory extracted from filanme
if we don not have directory and filename we will return the child var space without updates
|
public org.pentaho.di.core.variables.VariableSpace resolveCurrentDirectory(org.pentaho.di.core.variables.VariableSpace parentVariables,
org.pentaho.di.repository.RepositoryDirectoryInterface directory,
String filename)
parentVariables - - parent variable space which can be inheriteddirectory - - current path which will be used as path for start trans/jobfilename - - is file which we use at this momentinheritParentVar - - flag which indicate should we inherit variables from parent var space to child var spacepublic org.pentaho.di.core.variables.VariableSpace resolveCurrentDirectory(org.pentaho.di.core.ObjectLocationSpecificationMethod specificationMethod,
org.pentaho.di.core.variables.VariableSpace parentVariables,
Repository repository,
StepMeta stepMeta,
String filename)
public org.pentaho.di.core.variables.VariableSpace resolveCurrentDirectory(org.pentaho.di.core.ObjectLocationSpecificationMethod specificationMethod,
org.pentaho.di.core.variables.VariableSpace parentVariables,
Repository repository,
Job job,
String filename)
Copyright © 2024 Hitachi Vantara. All rights reserved.