ReplicationResult.java 659 Bytes
/*
 * Decompiled with CFR 0_118.
 */
package com.day.cq.replication;

public class ReplicationResult {
    public static final ReplicationResult OK = new ReplicationResult(true, 200, "OK");
    private final boolean success;
    private final int code;
    private final String message;

    public ReplicationResult(boolean success, int code, String message) {
        this.success = success;
        this.code = code;
        this.message = message;
    }

    public boolean isSuccess() {
        return this.success;
    }

    public int getCode() {
        return this.code;
    }

    public String getMessage() {
        return this.message;
    }
}