Package org.jbpm.shared.services.impl.commands

## Class QueryNameCommand<T>

- java.lang.Object
- - org.jbpm.shared.services.impl.commands.QueryNameCommand<T>

- All Implemented Interfaces:
    `Serializable`, `org.kie.api.command.Command<T>`, `org.kie.api.command.ExecutableCommand<T>`

      public class QueryNameCommand<T>
      extends Object
      implements org.kie.api.command.ExecutableCommand<T>

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `QueryNameCommand​(String queryName)` |
    `QueryNameCommand​(String queryName, Map<String,​Object> params)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `T` | `execute​(org.kie.api.runtime.Context context)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### QueryNameCommand

          public QueryNameCommand​(String queryName)

    - #### QueryNameCommand

          public QueryNameCommand​(String queryName,
                                  Map<String,​Object> params)

  - ### Method Detail

    - #### execute

          public T execute​(org.kie.api.runtime.Context context)

      Specified by:
        `execute` in interface `org.kie.api.command.ExecutableCommand<T>`