private RootFolder getRootFolder(IntegrationProject project, String[] params) {
String type = params[0].toLowerCase();
for (RootFolder root : project.getAllRootFolders()) {
if (root.getName().toLowerCase().startsWith(type)) {
EntityType itemType = root.getItemType();
if (itemType != EntityType.RootFolder && itemType != EntityType.Folder) {
return root;
}
}
}