In the third of my deployer extension queries this week(!) I've noticed that several methods are flagged as deprecated.
Checking the API docs confirms this:
Deprecated. The transportPackage is internal API, do not use
But this applies to key classes like com.tridion.transport.transportpackage.Page which is part of the processPage method I'm overriding:
protected void processPage(Page page, java.io.File pageFile) throws ProcessingException
Apparently I can suppress this warning:
@SuppressWarnings("deprecation")
Is it safe to do so then?
It seems odd that the method the documentation tells you to override should expose a deprecated class?