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 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. null if the dialog's form does not contain a name item (i.e. when adding a singleton resource)
        model - The model of the related form. null if the related resource description and thus the form does not contain attributes / form items.