Class WrappedAttachment
- java.lang.Object
-
- net.florianschoppmann.issuetracking.asana.WrappedAttachment
-
- All Implemented Interfaces:
Comparable<WrappedAttachment>
public final class WrappedAttachment extends Object implements Comparable<WrappedAttachment>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(WrappedAttachment other)booleanequals(Object otherObject)com.asana.models.AttachmentgetAttachment()@Nullable WrappedUsergetCreatedBy()@Nullable CompletableFuture<Path>getDownload()Returns the future representing the download (which may still be in progress).@Nullable PathgetDownloadPath()Returns the (relative) download path for this attachment.intgetNumberInTask()inthashCode()
-
-
-
Method Detail
-
compareTo
public int compareTo(WrappedAttachment other)
- Specified by:
compareToin interfaceComparable<WrappedAttachment>
-
getAttachment
public com.asana.models.Attachment getAttachment()
-
getNumberInTask
public int getNumberInTask()
-
getCreatedBy
public @Nullable WrappedUser getCreatedBy()
-
getDownloadPath
public @Nullable Path getDownloadPath()
Returns the (relative) download path for this attachment.
-
getDownload
public @Nullable CompletableFuture<Path> getDownload()
Returns the future representing the download (which may still be in progress). The future will be completed with the (relative) download path for this attachment.
-
-