Class GetVariableCommand

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

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

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

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

        autoFireAllRules
    • Constructor Detail

      • GetVariableCommand

        public GetVariableCommand()
      • GetVariableCommand

        public GetVariableCommand​(java.lang.String identifier)
      • GetVariableCommand

        public GetVariableCommand​(java.lang.String identifier,
                                  java.lang.String contextName)
    • Method Detail

      • execute

        public java.lang.Object execute​(org.kie.api.runtime.Context ctx)
        Specified by:
        execute in interface org.kie.api.command.ExecutableCommand<java.lang.Object>