Package org.drools.core.command.runtime
Class GetSessionTimeCommand
- java.lang.Object
-
- org.drools.core.command.runtime.GetSessionTimeCommand
-
- All Implemented Interfaces:
Serializable,IdentifiableResult,org.kie.api.command.Command<Long>,org.kie.api.command.ExecutableCommand<Long>
public class GetSessionTimeCommand extends Object implements org.kie.api.command.ExecutableCommand<Long>, IdentifiableResult
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetSessionTimeCommand()GetSessionTimeCommand(String outIdentifier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Longexecute(org.kie.api.runtime.Context context)StringgetOutIdentifier()voidsetOutIdentifier(String outIdentifier)StringtoString()
-
-
-
Constructor Detail
-
GetSessionTimeCommand
public GetSessionTimeCommand()
-
GetSessionTimeCommand
public GetSessionTimeCommand(String outIdentifier)
-
-
Method Detail
-
execute
public Long execute(org.kie.api.runtime.Context context)
- Specified by:
executein interfaceorg.kie.api.command.ExecutableCommand<Long>
-
getOutIdentifier
public String getOutIdentifier()
- Specified by:
getOutIdentifierin interfaceIdentifiableResult
-
setOutIdentifier
public void setOutIdentifier(String outIdentifier)
- Specified by:
setOutIdentifierin interfaceIdentifiableResult
-
-