List<ActivityInput> inputs = new ArrayList<ActivityInput>();
// set up block reader for items input
BlockReader items = getInput(INPUT_ITEMS);
ActivityInput itemsInput = new TupleListActivityInput(INPUT_ITEMS);
itemsInput.setBlockReader(items);
inputs.add(itemsInput);
// set up block reader for customers input
BlockReader customers = getInput(INPUT_TRANSACTIONS);
ActivityInput customersInput = new TupleListActivityInput(INPUT_TRANSACTIONS);
customersInput.setBlockReader(customers);
inputs.add(customersInput);
// set up block reader for customers input
BlockReader key = getInput(INPUT_KEY_INDEX);