* Queries all available outputs on the target and adds those values to the default set if property name is defined on their finite outputs.
*
* @param propertyName the property name a default is available for, not null
*/
public void addAllValuesPropertyName(final String propertyName) {
final ComputationTargetResults resultsProvider = getContext().getComputationTargetResults();
if (resultsProvider == null) {
return;
}
for (final ValueSpecification result : resultsProvider.getPartialResults(getTarget())) {
final Set<String> properties = result.getProperties().getProperties();
if ((properties != null) && properties.contains(propertyName)) {
s_logger.debug("Found {} defined on {}", propertyName, result);
addValuePropertyName(result.getValueName(), propertyName);
}