Class GetCommand<T>

  • All Implemented Interfaces:
    java.io.Serializable, org.kie.api.command.Command<T>, org.kie.api.command.ExecutableCommand<T>

    public class GetCommand<T>
    extends java.lang.Object
    implements org.kie.api.command.ExecutableCommand<T>
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      GetCommand​(java.lang.String name)  
      GetCommand​(java.lang.String name, org.kie.internal.builder.fluent.Scope scope)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T execute​(org.kie.api.runtime.Context context)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.kie.api.command.ExecutableCommand

        autoFireAllRules
    • Constructor Detail

      • GetCommand

        public GetCommand​(java.lang.String name)
      • GetCommand

        public GetCommand​(java.lang.String name,
                          org.kie.internal.builder.fluent.Scope scope)
    • Method Detail

      • execute

        public T execute​(org.kie.api.runtime.Context context)
        Specified by:
        execute in interface org.kie.api.command.ExecutableCommand<T>
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object