Examples of listParameters()


Examples of org.pentaho.di.trans.TransMeta.listParameters()

  public KettleParameterInfo[] getDeclaredParameter() throws KettleException, ReportDataFactoryException
  {
    if (parameters == null)
    {
      TransMeta transMeta = transformationProducer.loadTransformation(dataFactoryContext);
      String[] parameterNames = transMeta.listParameters();
      ArrayList<KettleParameterInfo> infos = new ArrayList<KettleParameterInfo>();
      for (String parameterName : parameterNames)
      {
        String defaultValue = transMeta.getParameterDefault(parameterName);
        String description = transMeta.getParameterDescription(parameterName);
View Full Code Here

Examples of org.pentaho.di.trans.TransMeta.listParameters()

  {
    final InternalKettleTransFromFileProducer transFromFileProducer =
        new InternalKettleTransFromFileProducer(getFile());
    final TransMeta transMeta = transFromFileProducer.loadTransformation(null, resourceManager, contextKey);
    final List<StepMeta> theSteps = transMeta.getSteps();
    declaredParameters = transMeta.listParameters();
    cached = theSteps.toArray(new StepMeta[theSteps.size()]);
  }

  public StepMeta[] getSteps(final ResourceManager resourceManager,
                             final ResourceKey contextKey) throws KettleException, ReportDataFactoryException
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.