class WorkflowResourceIdsUtils {

    public static WorkflowResourceIds getWorkflowResourceIdsFromExecution(DelegateExecution execution) {
        WorkflowResourceIds workflowResourceIds = new WorkflowResourceIds();
        workflowResourceIds.setServiceInstanceId((String) execution.getVariable("serviceInstanceId"));
        workflowResourceIds.setNetworkId((String) execution.getVariable("networkId"));
        workflowResourceIds.setVfModuleId((String) execution.getVariable("vfModuleId"));
        workflowResourceIds.setVnfId((String) execution.getVariable("vnfId"));
        workflowResourceIds.setVolumeGroupId((String) execution.getVariable("volumeGroupId"));
        workflowResourceIds.setInstanceGroupId((String) execution.getVariable("instanceGroupId"));
        return workflowResourceIds;
    }

    private  WorkflowResourceIdsUtils();

}