OptionalcompareFor a given AssetArtifactFragment, checks whether the expected category can be extracted from it. If not,
null is returned, meaning that this artifact is not a candidate.
Tries to map the given RenderableAddressFragment to a RenderableAddress. Returns null if it
fails.
Comparison function for two candidates. Is used by the ArtifactMapper when there are multiple candidates, if implemented.