edu.isi.pegasus.planner.catalog.site.impl.myosg.util
Class MYOSGURLGenerator

java.lang.Object
  extended by edu.isi.pegasus.planner.catalog.site.impl.myosg.util.MYOSGURLGenerator

public class MYOSGURLGenerator
extends Object

This is an utility class which generates the MYOSG url.

Author:
prasanth

Field Summary
private static String BASE_URL
           
 
Constructor Summary
MYOSGURLGenerator()
           
 
Method Summary
private  String defaultParameters()
          Returns the default parameters
private  String getConfigurableParameters(Properties paramProperties)
          Parsers through the list of parameterID-value pair and returns the parameters name value pair
(package private)  String getParam(int ID, String value)
          Returns the parameter name-value pair
 String getURL(Properties paramProperties)
          Returns the url
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BASE_URL

private static String BASE_URL
Constructor Detail

MYOSGURLGenerator

public MYOSGURLGenerator()
Method Detail

getURL

public String getURL(Properties paramProperties)
Returns the url

Parameters:
paramProperties - list of parameterID-value pair
Returns:
URL

defaultParameters

private String defaultParameters()
Returns the default parameters

Returns:
default parameters.

getConfigurableParameters

private String getConfigurableParameters(Properties paramProperties)
Parsers through the list of parameterID-value pair and returns the parameters name value pair

Parameters:
paramProperties - URL's paramID-value parameter pair
Returns:
parameters name value pair

getParam

String getParam(int ID,
                String value)
Returns the parameter name-value pair

Parameters:
ID - parameter ID
value - parameter value
Returns:
parameter name-value pair


Copyright © 2011 The University of Southern California. All Rights Reserved.