Can this use the stapler class WithWellKnownURL, or are you thinking of a Jenkins-specific interface?
A Jenkins-specific interface to retrofit the existing duck-typed String getUrl() signature.