will-lib
Version:
Library classes
20 lines (19 loc) • 580 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ActiveConfig = void 0;
class ActiveConfig {
constructor(url, baseDN, domain) {
this.url = url;
this.baseDN = baseDN;
this.domain = domain;
}
hasConfigure() {
if ((this.url && this.url.trim().length > 0)
&& (this.baseDN && this.baseDN.trim().length > 0)
&& (this.domain && this.domain.trim().length > 0)) {
return true;
}
return false;
}
}
exports.ActiveConfig = ActiveConfig;