Package org.openhab.core.automation.dto
Class TriggerDTOMapper
java.lang.Object
org.openhab.core.automation.dto.ModuleDTOMapper
org.openhab.core.automation.dto.TriggerDTOMapper
This is a utility class to convert between the respective object and its DTO.
- Author:
- Markus Rathgeb - Initial contribution, Kai Kreuzer - Changed to using ModuleBuilder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic List
<TriggerDTO> map
(@Nullable Collection<? extends Trigger> triggers) static TriggerDTO
mapDto
(@Nullable Collection<TriggerDTO> dtos) static Trigger
mapDto
(TriggerDTO triggerDto) Methods inherited from class org.openhab.core.automation.dto.ModuleDTOMapper
fillProperties
-
Constructor Details
-
TriggerDTOMapper
public TriggerDTOMapper()
-
-
Method Details
-
map
-
mapDto
-
map
-
mapDto
-