currentTarget = deflector.getNewestTargetName();
} catch (NoTargetIndexException e) {
LOG.error("Could not find current deflector target. Aborting.", e);
return;
}
final RotationStrategy.Result rotate = rotationStrategy.shouldRotate(currentTarget);
if (rotate == null) {
LOG.error("Cannot perform rotation at this moment.");
return;
}
LOG.debug("Rotation strategy result: {}", rotate.getDescription());