Package com.tapkey.mobile.tlcp.commands
Class DefaultTriggerLockCommandBuilder
- java.lang.Object
-
- com.tapkey.mobile.tlcp.commands.AbstractCommandBuilder<TCmd,T>
-
- com.tapkey.mobile.tlcp.commands.AbstractTriggerLockCommandBuilder<net.tpky.mc.tlcp.model.DefaultTriggerLockCommand,DefaultTriggerLockCommandBuilder>
-
- com.tapkey.mobile.tlcp.commands.DefaultTriggerLockCommandBuilder
-
public class DefaultTriggerLockCommandBuilder extends AbstractTriggerLockCommandBuilder<net.tpky.mc.tlcp.model.DefaultTriggerLockCommand,DefaultTriggerLockCommandBuilder>
Allows building a default trigger lock command. This type of command trigger's the locking device's default locking/unlocking action and is defined by the locking device itself. E.g. a standard door cylinder would usually unlock for a few seconds and allow the user to open the door during this time. Other locking devices might stay open indefinitely. The DefaultTriggerLockCommand is not to be confused with the AutoTriggerLockCommand. The former tries to trigger the lock's default command independent of the user's permissions. If the permissions don't match, execution will fail. The latter lets the lock choose the action to be performed based on the user's key and the locking device's properties. Note, that lock running an older firmware may not support explicitly specifying the DefaultTriggerLockCommand. In order to stay backwards-compatible, it's therefore suggested to use the `CompatTriggerLockCommandBuilder` instead of this class in most cases.
-
-
Constructor Summary
Constructors Constructor Description DefaultTriggerLockCommandBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description net.tpky.mc.tlcp.model.DefaultTriggerLockCommand
build()
Builds the command.protected DefaultTriggerLockCommandBuilder
getThis()
-
Methods inherited from class com.tapkey.mobile.tlcp.commands.AbstractTriggerLockCommandBuilder
getCustomCommandData, setCustomCommandData
-
Methods inherited from class com.tapkey.mobile.tlcp.commands.AbstractCommandBuilder
getCallerData, setCallerData
-
-
-
-
Method Detail
-
getThis
protected DefaultTriggerLockCommandBuilder getThis()
- Specified by:
getThis
in classAbstractCommandBuilder<net.tpky.mc.tlcp.model.DefaultTriggerLockCommand,DefaultTriggerLockCommandBuilder>
-
build
public net.tpky.mc.tlcp.model.DefaultTriggerLockCommand build()
Builds the command.- Specified by:
build
in classAbstractCommandBuilder<net.tpky.mc.tlcp.model.DefaultTriggerLockCommand,DefaultTriggerLockCommandBuilder>
- Returns:
- The command
-
-