Class DefaultActionPreparator

    • Constructor Detail

      • DefaultActionPreparator

        public DefaultActionPreparator()
        Deprecated.
    • Method Detail

      • prepare

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