return plugins.toArray(new LoadSourcePluginIdentifier[plugins.size()]);
}
@Override
public void store(PipelinePosition[] plugins) {
Persistor p = settings.getEntitySettings(transformation);
Persistor root = p.getFirstChild(ROOT);
if (root == null) {
root = p.createChild(ROOT);
}
root.removeChildren(ENTRY);
for (PipelinePosition pos : plugins) {
Persistor entry = root.createChild(ENTRY);
entry.putString(NAME, pos.getPluginId().getName());
entry.putString(VERSION, pos.getPluginId().getVersion().toString());
entry.putString(POSITION, pos.getRelativePosition().name());
}
settings.persist();
}