Revert "Removed unused method."

This reverts commit c50606c3a6f047059a1da1ac1f83be5e759450ba.
Revert "First pass at replacing Jenkins' retention strategies: Always and Demand."

This reverts commit be2141f6c22fe2374291f7cb1f03d0c2ed3127e1.