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

## Class QueryStringCommand<T>

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

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

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

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `QueryStringCommand​(String queryName)` |
    `QueryStringCommand​(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

    - #### QueryStringCommand

          public QueryStringCommand​(String queryName)

    - #### QueryStringCommand

          public QueryStringCommand​(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>`