Search in sources :

Example 1 with SystemComponentReference

use of org.apache.airavata.workflow.model.component.system.SystemComponentReference in project airavata by apache.

the class AmazonComponentRegistry method getComponentReferenceList.

/**
 * @see org.apache.airavata.workflow.model.component.registry.ComponentRegistry#getComponentReferenceList()
 */
@Override
public List<ComponentReference> getComponentReferenceList() {
    List<ComponentReference> tree = new ArrayList<ComponentReference>();
    for (String name : this.componentMap.keySet()) {
        Component component = this.componentMap.get(name);
        SystemComponentReference componentReference = new SystemComponentReference(name, component);
        tree.add(componentReference);
    }
    return tree;
}
Also used : SystemComponentReference(org.apache.airavata.workflow.model.component.system.SystemComponentReference) ComponentReference(org.apache.airavata.workflow.model.component.ComponentReference) ArrayList(java.util.ArrayList) Component(org.apache.airavata.workflow.model.component.Component) SystemComponentReference(org.apache.airavata.workflow.model.component.system.SystemComponentReference)

Aggregations

ArrayList (java.util.ArrayList)1 Component (org.apache.airavata.workflow.model.component.Component)1 ComponentReference (org.apache.airavata.workflow.model.component.ComponentReference)1 SystemComponentReference (org.apache.airavata.workflow.model.component.system.SystemComponentReference)1