public State execute() { String pwdBase64 = Base64.getEncoder().encodeToString(stateValues.getPassword().getBytes()); theConsole.printf(DomainManagementLogger.ROOT_LOGGER.secretElement(pwdBase64)); theConsole.printf(NEW_LINE); // This is now the final state so return null. return null; }