// check if the dependency is fresh or it can be
// revalidated
final DependencyContext dependencyContext =
getPipelineContext().getDependencyContext();
final Dependency dependency = value.getDependency();
Freshness freshness =
dependency.freshness(dependencyContext);
if (freshness == Freshness.REVALIDATE) {
freshness =
dependency.revalidate(dependencyContext);
}