* @param clearFrom removes the exported values from this's FlowValuesMap.
* @return the exported values
*/
@SuppressWarnings("unchecked")
protected FlowValuesMap<? extends FlowValueMapKey, ? extends CharSequence> exportProperties(boolean clearFrom) {
FlowValuesMap exportValueMap = createFlowValuesMapCopy();
Map<String, FlowPropertyDefinition> propertyDefinitions = this.getFlow().getPropertyDefinitions();
if (propertyDefinitions != null) {
Collection<FlowPropertyDefinition> flowPropertyDefinitions = propertyDefinitions.values();
exportProperties(exportValueMap, flowPropertyDefinitions, null, clearFrom);
}