Interface ActionPreparator

    • Method Detail

      • prepare

        boolean prepare​(Action action,
                        org.apache.felix.service.command.CommandSession session,
                        List<Object> arguments)
                 throws Exception
        Deprecated.
        Check if the arguments are valid for the action and inject the arguments into the fields of the action. Using deprecated Action for compatibility.
        Parameters:
        action - The action to perform.
        session - The command session to use.
        arguments - The action arguments.
        Returns:
        True if the action preparation succeed, false else.
        Throws:
        Exception - In case of preparation failure.