Package org.jboss.hal.core.mbui.dialog
Interface AddResourceDialog.Callback
-
- Enclosing class:
- AddResourceDialog
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface AddResourceDialog.Callback
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonAdd(String name, ModelNode model)Called after the dialog was closed using the primary button.
-
-
-
Method Detail
-
onAdd
void onAdd(@Nullable String name, @Nullable ModelNode model)Called after the dialog was closed using the primary button.- Parameters:
name- The name of the resource to add.nullif the dialog's form does not contain a name item (i.e. when adding a singleton resource)model- The model of the related form.nullif the related resource description and thus the form does not contain attributes / form items.
-
-