Examples of MapParamValue


Examples of org.pentaho.platform.scheduler2.ws.MapParamValue

    ListParamValue listValue = new ListParamValue();
    listValue.add( "testListVal0" );
    listValue.add( "testListVal1" );

    MapParamValue mapValue = new MapParamValue();
    mapValue.put( "testMapKey0", "testMapVal0" );
    mapValue.put( "testMapKey1", "testMapVal1" );

    privateParams.put( "stringParam", new StringParamValue( "testStringValue" ) );
    privateParams.put( "listParam", listValue );
    privateParams.put( "mapParam", mapValue );
View Full Code Here

Examples of org.pentaho.platform.scheduler2.ws.MapParamValue

  public void testJaxbSafeMap() throws JAXBException {
    HashMap<String, ParamValue> params = new HashMap<String, ParamValue>();
    ListParamValue listValue = new ListParamValue();
    listValue.add( "testListVal0" );
    listValue.add( "testListVal1" );
    MapParamValue mapValue = new MapParamValue();
    mapValue.put( "testMapValueKey", "testMapVal" );

    params.put( "testStringkey", new StringParamValue( "testStringVal" ) );
    params.put( "testListKey", listValue );
    params.put( "testMapKey", mapValue );
    JaxBSafeMap map = new JaxBSafeMap( params );
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.