public ConnectorStateInfo restartConnectorStateInfo() {
        return stateInfo;
    }
Get the {@link ConnectorStateInfo} that reflects the current state of the connector <em>except</em> with the {@code status}
set to {@link AbstractStatus.State#RESTARTING} for the {@link Connector} instance and any {@link Task} instances that
are to be restarted, based upon the {@link #restartRequest() restart request}.

@return the connector state info that reflects the restart plan; never null
connect/runtime/src/main/java/org/apache/kafka/connect/runtime/RestartPlan.java