}
};
if (bootstrapContext.isStandalone()) {
contextCallback
.onSuccess(new RollbackContext(true, Patches.STANDALONE_HOST, Collections.<String>emptyList(),
patchManager.baseAddress(), patchInfo));
} else {
final String host = hostStore.getSelectedHost();
dispatcher
.execute(new DMRAction(getRunningServersOp(host)), new GetRunningServersCallback() {
@Override
protected void onServers(final List<String> runningServers) {
contextCallback.onSuccess(new RollbackContext(false, host, runningServers,
patchManager.baseAddress(), patchInfo));
}
});
}
}