Package org.drools.commands.runtime
Class GetSessionTimeCommand
- java.lang.Object
-
- org.drools.commands.runtime.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
-
-
Constructor Summary
Constructors Constructor Description GetSessionTimeCommand()GetSessionTimeCommand(java.lang.String outIdentifier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Longexecute(org.kie.api.runtime.Context context)java.lang.StringgetOutIdentifier()voidsetOutIdentifier(java.lang.String outIdentifier)java.lang.StringtoString()
-
-
-
Method Detail
-
execute
public java.lang.Long execute(org.kie.api.runtime.Context context)
- Specified by:
executein interfaceorg.kie.api.command.ExecutableCommand<java.lang.Long>
-
getOutIdentifier
public java.lang.String getOutIdentifier()
- Specified by:
getOutIdentifierin interfaceIdentifiableResult
-
setOutIdentifier
public void setOutIdentifier(java.lang.String outIdentifier)
- Specified by:
setOutIdentifierin interfaceIdentifiableResult
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-