Interface Cleanliness

All Superinterfaces:
Resource

public interface Cleanliness extends Resource

A "phony resource" that (when requested) causes a generator to remove its generated outputs.

Note that requesting Cleanliness may leave ResourceProviders in an inconsistent state. The reason is that providers can cache resources that they depend on. If a Cleanliness resource is requested, all cleaned resources would have to be removed from these caches, which cannot be done reliably.

Therefore, the build project should be discarded and re-generated after Cleanliness has been requested.