/** * Get the value of the parameter for the asset name (as Object with * toString()) * * @param assetName * asset name * @param parameter * parameter * @param <T> * type of the value (aka TypeOfValue value = * context.getParameterValue(...) ) * @return the value of the parameter, or <code>null</code> value */ public <T> T getParameterValue(Object assetName, String parameter) { return getParameterValue(assetName.toString(), parameter); } }
/** * Get the value of the parameter for the asset name (as Object with * toString()) * * @param assetName * asset name * @param parameter * parameter * @param <T> * type of the value (aka TypeOfValue value = * context.getParameterValue(...) ) * @return the value of the parameter, or <code>null</code> value */ public <T> T getParameterValue(Object assetName, String parameter) { return getParameterValue(assetName.toString(), parameter); } }