public boolean setSuccess() {
        this.errCode = ErrorCode.OK.getErrCode();
        this.errMsg = ErrorCode.OK.getErrMsg();
        this.retData = null;
        return isSuccess();
    }
Process Result class

Used to return the result of task processing
inlong-sdk/dataproxy-sdk/src/main/java/org/apache/inlong/sdk/dataproxy/common/ProcessResult.java