summaryrefslogtreecommitdiff
path: root/src/main/java/com/keuin/kbackupfabric/operation/backup/feedback/FailedBackupFeedback.java
blob: e7cbbd82772d24401d5f25752cc911eea2ad74de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.keuin.kbackupfabric.operation.backup.feedback;

public abstract class FailedBackupFeedback implements BackupFeedback {

    private final String message;

    public FailedBackupFeedback(String message) {
        this.message = message;
    }

    @Override
    public boolean isSuccess() {
        return false;
    }

    @Override
    public String getFeedback() {
        return message;
    }
}