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 Long
execute(org.kie.api.runtime.Context context)
String
getOutIdentifier()
void
setOutIdentifier(String outIdentifier)
String
toString()
-
-
-
Constructor Detail
-
GetSessionTimeCommand
public GetSessionTimeCommand()
-
GetSessionTimeCommand
public GetSessionTimeCommand(String outIdentifier)
-
-
Method Detail
-
execute
public Long execute(org.kie.api.runtime.Context context)
- Specified by:
execute
in interfaceorg.kie.api.command.ExecutableCommand<Long>
-
getOutIdentifier
public String getOutIdentifier()
- Specified by:
getOutIdentifier
in interfaceIdentifiableResult
-
setOutIdentifier
public void setOutIdentifier(String outIdentifier)
- Specified by:
setOutIdentifier
in interfaceIdentifiableResult
-
-