src/main/java/org/fit/layout/api/ServiceManager.java
public static Map<String, Object> getServiceParams(ParametrizedOperation op)
    {
        Map<String, Object> ret = new HashMap<String, Object>();
        for (Parameter param : op.getParams())
        {
            ret.put(param.getName(), op.getParam(param.getName()));
        }
        return ret;
    }
public static Map<String, Object> getServiceParams(ParametrizedOperation op)
    {
        Map<String, Object> ret = new HashMap<String, Object>();
        for (Parameter param : op.getParams())
        {
            ret.put(param.getName(), op.getParam(param.getName()));
        }
        return ret;
    }
public static Map < String , Object > getServiceParams ( ParametrizedOperation op ) { Map < String , Object > ret = new HashMap < String , Object > ( ) ; for ( Parameter param : op . getParams ( ) ) { ret . put ( param . getName ( ) , op . getParam ( param . getName ( ) ) ) ; } return ret ; }
Obtains the values of all the parametres of the given operation.
@param op The operation whose parametres should be set
@return A map that assigns values to parameter names
Obtains the values of all the parametres of the given operation .