Package org.drools.commands.runtime
Class AdvanceSessionTimeCommand
java.lang.Object
org.drools.commands.runtime.AdvanceSessionTimeCommand
- All Implemented Interfaces:
Serializable,IdentifiableResult,org.kie.api.command.Command<Long>,org.kie.api.command.ExecutableCommand<Long>
public class AdvanceSessionTimeCommand
extends Object
implements org.kie.api.command.ExecutableCommand<Long>, IdentifiableResult
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAdvanceSessionTimeCommand(long amount, TimeUnit unit) AdvanceSessionTimeCommand(String outIdentifier, long amount, TimeUnit unit) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.kie.api.command.ExecutableCommand
autoFireAllRules
-
Constructor Details
-
AdvanceSessionTimeCommand
public AdvanceSessionTimeCommand() -
AdvanceSessionTimeCommand
-
AdvanceSessionTimeCommand
-
-
Method Details
-
execute
- Specified by:
executein interfaceorg.kie.api.command.ExecutableCommand<Long>
-
getOutIdentifier
- Specified by:
getOutIdentifierin interfaceIdentifiableResult
-
setOutIdentifier
- Specified by:
setOutIdentifierin interfaceIdentifiableResult
-
getAmount
public long getAmount() -
setAmount
public void setAmount(long amount) -
getUnit
-
setUnit
-
toString
-