Package org.pentaho.platform.api.engine

Examples of org.pentaho.platform.api.engine.IParameterManager


      if ( inputs.contains( name ) ) {
        value = TemplateUtil.getSystemInput( name, context );
        if ( value != null ) {
          return value;
        }
        IParameterManager paramMgr = context.getParameterManager();
        Map allParams = paramMgr.getAllParameters();
        Object valueObj;
        if ( allParams.containsKey( name ) ) {
          IActionParameter param = (IActionParameter) allParams.get( name );
          valueObj = param.getValue();
        } else {
View Full Code Here


        solutionEngine
            .execute(
                xactionStr,
                xactionName,
                "simple output test", false, true, null, false, new HashMap(), null, null, new SimpleUrlFactory( "" ), new ArrayList() ); //$NON-NLS-1$ //$NON-NLS-2$
    IParameterManager paramManager = runtimeContext.getParameterManager();
    Assert.assertEquals( outParameters.size(), paramManager.getCurrentOutputNames().size() );
    for ( Object key : paramManager.getCurrentOutputNames() ) {
      Assert.assertTrue( "output parameter not found in definition", outParameters.contains( key ) );
      Assert.assertFalse( "non-output parameter in output", nonOutParameters.contains( key ) );
    }

    finishTest();
View Full Code Here

TOP

Related Classes of org.pentaho.platform.api.engine.IParameterManager

Copyright © 2018 www.massapicom. 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.