for (Discoverable discoverable : discoverables) {
discoverableNames.add(discoverable.getName());
}
}
}
return new InMemoryProgramLiveInfo(programId, type, Lists.newArrayList(discoverableNames));
} else {
return new InMemoryProgramLiveInfo(programId, type);
}
}