com.atlassian.jira.issue.attachment
Interface AttachmentHealth

All Known Subinterfaces:
AttachmentDirectoryAccessor, FileBasedAttachmentStore, FileSystemAttachmentStore, RemoteAttachmentStore, SimpleAttachmentStore, StreamAttachmentStore
All Known Implementing Classes:
BackwardCompatibleAttachmentStore, BackwardCompatibleStoreAdapter, BlobStoreAttachmentStore, DefaultFileSystemAttachmentStore, DualSendingAttachmentStore, FileSystemAttachmentDirectoryAccessor, NullAttachmentStore

public interface AttachmentHealth

Classes that implement this can report a health status.

Since:
v6.3

Method Summary
 com.atlassian.fugue.Option<ErrorCollection> errors()
          Health status for this component.
 

Method Detail

errors

@Nonnull
com.atlassian.fugue.Option<ErrorCollection> errors()
Health status for this component. Specifically the errors that cause the attachment subsystem to fail.

Returns:
An option of an error collection that contains error messages if there are any issues. The option will be none if there are no errors.


Copyright © 2002-2015 Atlassian. All Rights Reserved.