use of org.springsource.ide.eclipse.commons.internal.configurator.operations.CopyOperation in project eclipse-integration-commons by spring-projects.
the class InstallableItem method getInstallOperations.
public List<AbstractInstallOperation> getInstallOperations() {
IConfigurationElement[] elements = element.getChildren();
List<AbstractInstallOperation> operations = new ArrayList<AbstractInstallOperation>(elements.length);
for (IConfigurationElement element : elements) {
if (element.getName().equals(ELEMENT_COPY)) {
operations.add(new CopyOperation(element));
} else if (element.getName().equals(ELEMENT_CHMOD)) {
operations.add(new ChmodOperation(element));
}
}
return operations;
}
Aggregations