<?xml version="1.0" encoding="UTF-8" standalone="no"?><process version="5.1.001"> <context> <input/> <output/> <macros/> </context> <operator activated="true" class="process" compatibility="5.1.001" expanded="true" name="Process"> <process expanded="true" height="370" width="614"> <operator activated="true" class="retrieve" compatibility="5.1.001" expanded="true" height="60" name="Retrieve" width="90" x="112" y="120"> <parameter key="repository_entry" value="//Samples/data/Iris"/> </operator> <operator activated="true" class="store" compatibility="5.1.001" expanded="true" height="60" name="Store" width="90" x="311" y="347"> <parameter key="repository_entry" value="%{process_file}_result"/> </operator> <connect from_op="Retrieve" from_port="output" to_op="Store" to_port="input"/> <portSpacing port="source_input 1" spacing="0"/> <portSpacing port="sink_result 1" spacing="0"/> </process> </operator></process>
case PROCESS_NAME: String fileName = process.getProcessLocation().getShortName(); return fileName.substring(0, fileName.lastIndexOf("."))