blob: 0f26e3e8e63cfff3d748cf1425feddddc31546e7 [file] [log] [blame]
{
"classLoaderSharing" : "workflow",
"script" : "filteredlist = new ArrayList();\nfor (Iterator i = stringlist.iterator(); i.hasNext();) {\n\tString item = (String) i.next();\n\tif (item.matches(regex)) {\n\t\tfilteredlist.add(item);\n\t}\n}\n",
"localworkerName" : "org.embl.ebi.escience.scuflworkers.java.FilterStringList",
"inputPorts" : [ {
"name" : "stringlist",
"depth" : 1,
"type" : "String"
}, {
"name" : "regex",
"depth" : 0,
"type" : "String"
} ],
"outputPorts" : [ {
"name" : "filteredlist",
"depth" : 1,
"granularDepth" : 1
} ],
"isAltered" : false
}