Class GetSessionTimeCommand

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

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Long execute​(org.kie.api.runtime.Context context)  
      java.lang.String getOutIdentifier()  
      void setOutIdentifier​(java.lang.String outIdentifier)  
      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

      • GetSessionTimeCommand

        public GetSessionTimeCommand()
      • GetSessionTimeCommand

        public GetSessionTimeCommand​(java.lang.String outIdentifier)
    • Method Detail

      • execute

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

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