Class BackupFileProcessInfo

    • Constructor Detail

      • BackupFileProcessInfo

        public BackupFileProcessInfo​(@NotNull
                                     BackupBriefProcessInfo briefInfo,
                                     @NotNull
                                     File file,
                                     boolean fileExists,
                                     @NotNull
                                     String downloadUrl)
    • Method Detail

      • getId

        public int getId()
        Description copied from interface: BackupProcessInfo
        The internal maintenance process identifier.
        Specified by:
        getId in interface BackupProcessInfo
        Returns:
        see above.
      • nameEquals

        @Deprecated
        public boolean nameEquals​(@NotNull
                                  String name)
        Deprecated.
        Checks whether this entry's name equals to the given one, case sensitive.
        Parameters:
        name - name to compare with.
        Returns:
        true when equals
      • getName

        @NotNull
        public String getName()
      • getPathAndName

        @NotNull
        public String getPathAndName()
      • getSize

        public long getSize()
      • getFormattedSize

        public String getFormattedSize()
      • getStartTimestampFriendly

        public String getStartTimestampFriendly()
      • getStartTimestampFull

        public String getStartTimestampFull()
      • getFinishTimestampFriendly

        public String getFinishTimestampFriendly()
      • getFinishTimestampFull

        public String getFinishTimestampFull()
      • isHasFinishTimestamp

        public boolean isHasFinishTimestamp()
      • isFinished

        public boolean isFinished()
      • isInProgress

        public boolean isInProgress()
      • isCancelledOrCancelling

        public boolean isCancelledOrCancelling()
      • isFault

        public boolean isFault()
      • isFileExists

        public boolean isFileExists()
      • getDownloadUrl

        @NotNull
        public String getDownloadUrl()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object