@ui5/task-adaptation
Version:
Custom task for ui5-builder which allows building UI5 Flexibility Adaptation Projects for SAP BTP, Cloud Foundry environment
22 lines (21 loc) • 464 B
JavaScript
export default class config {
config = new Map();
static get Type() {
return {
String: "string"
}
}
static get({ name }) {
return name === "sapUiLogLevel" ? "Error" : undefined;
}
static getWritableInstance() {
return {
get(obj) {
config.get(obj.name);
},
set(name, obj) {
config.set(name, obj);
}
}
}
}