public class AttachmentResourceIdentifierResolver extends Object implements ResourceIdentifierResolver<AttachmentResourceIdentifier,Attachment>
Constructor and Description |
---|
AttachmentResourceIdentifierResolver(AttachmentManager attachmentManager,
AttachmentOwningContentResolver attachmentOwningContentResolver) |
Modifier and Type | Method and Description |
---|---|
Attachment |
resolve(AttachmentResourceIdentifier attachmentResourceIdentifier,
ConversionContext conversionContext) |
public AttachmentResourceIdentifierResolver(AttachmentManager attachmentManager, AttachmentOwningContentResolver attachmentOwningContentResolver)
public Attachment resolve(AttachmentResourceIdentifier attachmentResourceIdentifier, ConversionContext conversionContext) throws CannotResolveResourceIdentifierException
resolve
in interface ResourceIdentifierResolver<AttachmentResourceIdentifier,Attachment>
attachmentResourceIdentifier
- resource identifierconversionContext
- the conversion contextCannotResolveResourceIdentifierException
- if the specified resource identifier cannot be resolved (this shouldn't typically happen unless someone has removed the resource)Copyright © 2003–2015 Atlassian. All rights reserved.