org.talend.esb.sam.server.ui
Class UIProviderUtils

java.lang.Object
  extended by org.talend.esb.sam.server.ui.UIProviderUtils

public class UIProviderUtils
extends Object

A utility class to extract complex methods to simplify testing.

Author:
zubairov

Constructor Summary
UIProviderUtils()
           
 
Method Summary
 com.google.gson.JsonArray aggregateFlowDetails(List<com.google.gson.JsonObject> objects, String baseURL)
          Aggregate flow details.
 com.google.gson.JsonArray aggregateRawData(List<com.google.gson.JsonObject> objects, String baseURL)
          Aggregate raw data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIProviderUtils

public UIProviderUtils()
Method Detail

aggregateFlowDetails

public com.google.gson.JsonArray aggregateFlowDetails(List<com.google.gson.JsonObject> objects,
                                                      String baseURL)
Aggregate flow details.

Parameters:
objects - the objects
baseURL - the base url
Returns:
the json array

aggregateRawData

public com.google.gson.JsonArray aggregateRawData(List<com.google.gson.JsonObject> objects,
                                                  String baseURL)
Aggregate raw data.

Parameters:
objects - the objects
baseURL - the base url
Returns:
the json array


Copyright © 2011–2013 Talend Inc.. All rights reserved.