class ZTSClientNotificationSenderImpl implements ZTSClientNotificationSender {

    public boolean init(NotificationManager notificationManager, RolesProvider rolesProvider, String serverName) {
        this.isInit = false;
        this.notificationManager = notificationManager;
        this.rolesProvider = rolesProvider;
        this.serverName = serverName;

        if (this.notificationManager != null && this.rolesProvider != null && !StringUtil.isEmpty(serverName)) {
            this.isInit = true;
        } else {
            LOGGER.warn("ZTSClientNotificationSenderImpl must be initiated with all arguments before it can be used");
        }

        return this.isInit;
    }

}