use of org.jboss.hal.meta.Metadata in project console by hal.
the class LoggingProfileView method saveCustomFormatter.
void saveCustomFormatter(Form<NamedNode> form, Map<String, Object> changedValues) {
String name = form.getModel().getName();
Metadata metadata = mbuiContext.metadataRegistry().lookup(LOGGING_PROFILE_TEMPLATE.append(CUSTOM_FORMATTER + EQ_WILDCARD));
saveForm(Names.CUSTOM_FORMATTER, name, SELECTED_LOGGING_PROFILE_TEMPLATE.append(CUSTOM_FORMATTER + EQ_WILDCARD).resolve(selectionAwareStatementContext, name), changedValues, metadata);
}
use of org.jboss.hal.meta.Metadata in project console by hal.
the class LoggingProfileView method saveAsyncHandler.
void saveAsyncHandler(Form<NamedNode> form, Map<String, Object> changedValues) {
String name = form.getModel().getName();
Metadata metadata = mbuiContext.metadataRegistry().lookup(LOGGING_PROFILE_TEMPLATE.append(ASYNC_HANDLER + EQ_WILDCARD));
saveForm(Names.ASYNC_ACTION_HANDLER, name, SELECTED_LOGGING_PROFILE_TEMPLATE.append(ASYNC_HANDLER + EQ_WILDCARD).resolve(selectionAwareStatementContext, name), changedValues, metadata);
}
use of org.jboss.hal.meta.Metadata in project console by hal.
the class LoggingProfileView method saveRootLogger.
// ------------------------------------------------------ root logger
@SuppressWarnings("UnusedParameters")
void saveRootLogger(Form<ModelNode> form, Map<String, Object> changedValues) {
Metadata metadata = mbuiContext.metadataRegistry().lookup(LOGGING_PROFILE_TEMPLATE.append(ROOT_LOGGER_EQ_ROOT));
saveSingletonForm("Root Logger", SELECTED_LOGGING_PROFILE_TEMPLATE.append(ROOT_LOGGER_EQ_ROOT).resolve(selectionAwareStatementContext), changedValues, metadata);
}
use of org.jboss.hal.meta.Metadata in project console by hal.
the class LoggingProfileView method resetPatternFormatter.
void resetPatternFormatter(Form<NamedNode> form) {
String name = form.getModel().getName();
Metadata metadata = mbuiContext.metadataRegistry().lookup(LOGGING_PROFILE_TEMPLATE.append(PATTERN_FORMATTER + EQ_WILDCARD));
resetForm(Names.PATTERN_FORMATTER, name, SELECTED_LOGGING_PROFILE_TEMPLATE.append(PATTERN_FORMATTER + EQ_WILDCARD).resolve(selectionAwareStatementContext, name), form, metadata);
}
use of org.jboss.hal.meta.Metadata in project console by hal.
the class LoggingProfileView method resetCustomFormatter.
void resetCustomFormatter(Form<NamedNode> form) {
String name = form.getModel().getName();
Metadata metadata = mbuiContext.metadataRegistry().lookup(LOGGING_PROFILE_TEMPLATE.append(CUSTOM_FORMATTER + EQ_WILDCARD));
resetForm(Names.CUSTOM_FORMATTER, name, SELECTED_LOGGING_PROFILE_TEMPLATE.append(CUSTOM_FORMATTER + EQ_WILDCARD).resolve(selectionAwareStatementContext, name), form, metadata);
}
Aggregations