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 int
compareTo(WrappedAttachment other)
boolean
equals(Object otherObject)
com.asana.models.Attachment
getAttachment()
@Nullable WrappedUser
getCreatedBy()
@Nullable CompletableFuture<Path>
getDownload()
Returns the future representing the download (which may still be in progress).@Nullable Path
getDownloadPath()
Returns the (relative) download path for this attachment.int
getNumberInTask()
int
hashCode()
-
-
-
Method Detail
-
compareTo
public int compareTo(WrappedAttachment other)
- Specified by:
compareTo
in 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.
-
-