-
- All Implemented Interfaces:
-
java.io.Serializable
public class SceneTask implements Serializable
Created by letian on 2016/10/17.
-
-
Field Summary
Fields Modifier and Type Field Description private String
id
private String
actionExecutor
private String
entityId
private String
entityName
private Map<String, List<String>>
actionDisplayNew
private Map<String, Object>
executorProperty
private Map<String, Object>
extraProperty
private String
devIcon
private boolean
isDevOnline
private String
uiid
private String
productId
private String
productPic
private boolean
devDelMark
private String
deleteDevIcon
private String
defaultIconUrl
-
Method Summary
Modifier and Type Method Description String
getId()
void
setId(String id)
String
getActionExecutor()
void
setActionExecutor(String actionExecutor)
String
getEntityId()
void
setEntityId(String entityId)
String
getEntityName()
void
setEntityName(String entityName)
Map<String, List<String>>
getActionDisplayNew()
void
setActionDisplayNew(Map<String, List<String>> actionDisplayNew)
Map<String, Object>
getExecutorProperty()
void
setExecutorProperty(Map<String, Object> executorProperty)
Map<String, Object>
getExtraProperty()
void
setExtraProperty(Map<String, Object> extraProperty)
String
getDevIcon()
void
setDevIcon(String devIcon)
boolean
isDevOnline()
String
getUiid()
void
setUiid(String uiid)
String
getProductId()
void
setProductId(String productId)
String
getProductPic()
void
setProductPic(String productPic)
void
setDevDelMark(boolean devDelMark)
String
getDeleteDevIcon()
void
setDeleteDevIcon(String deleteDevIcon)
String
getDefaultIconUrl()
void
setDefaultIconUrl(String defaultIconUrl)
static SceneTask
createSceneTask(SceneBean sceneBean)
create object of task static SceneTask
createDpTask(String devId, HashMap<String, Object> tasks)
Create object of device type task static SceneTask
createDpGroupTask(long groupId, HashMap<String, Object> tasks)
Create object of device groups type task static SceneTask
createDelayTask(int minute, int second)
Create object of delay time type task static SceneTask
createPushMessage()
Create object of push message type task static SceneTask
createPhoneNotice()
Create object of phone services type task boolean
isDevDelMark()
void
setDevOnline(boolean devOnline)
SceneIdBean
getSceneIdBean()
void
setSceneId(SceneIdBean sceneIdBean)
boolean
equals(Object o)
int
hashCode()
-
-
Constructor Detail
-
SceneTask
SceneTask()
-
SceneTask
SceneTask(SceneTask bean)
-
-
Method Detail
-
getId
String getId()
-
setId
void setId(String id)
-
getActionExecutor
String getActionExecutor()
-
setActionExecutor
void setActionExecutor(String actionExecutor)
-
getEntityId
String getEntityId()
-
setEntityId
void setEntityId(String entityId)
-
getEntityName
String getEntityName()
-
setEntityName
void setEntityName(String entityName)
-
getActionDisplayNew
Map<String, List<String>> getActionDisplayNew()
-
setActionDisplayNew
void setActionDisplayNew(Map<String, List<String>> actionDisplayNew)
-
getExecutorProperty
Map<String, Object> getExecutorProperty()
-
setExecutorProperty
void setExecutorProperty(Map<String, Object> executorProperty)
-
getExtraProperty
Map<String, Object> getExtraProperty()
-
setExtraProperty
void setExtraProperty(Map<String, Object> extraProperty)
-
getDevIcon
String getDevIcon()
-
setDevIcon
void setDevIcon(String devIcon)
-
isDevOnline
boolean isDevOnline()
-
getUiid
String getUiid()
-
setUiid
void setUiid(String uiid)
-
getProductId
String getProductId()
-
setProductId
void setProductId(String productId)
-
getProductPic
String getProductPic()
-
setProductPic
void setProductPic(String productPic)
-
setDevDelMark
void setDevDelMark(boolean devDelMark)
-
getDeleteDevIcon
String getDeleteDevIcon()
-
setDeleteDevIcon
void setDeleteDevIcon(String deleteDevIcon)
-
getDefaultIconUrl
String getDefaultIconUrl()
-
setDefaultIconUrl
void setDefaultIconUrl(String defaultIconUrl)
-
createSceneTask
@Deprecated() static SceneTask createSceneTask(SceneBean sceneBean)
create object of task
-
createDpTask
@Deprecated() static SceneTask createDpTask(String devId, HashMap<String, Object> tasks)
Create object of device type task
- Parameters:
devId
- id of devicetasks
- data point map{"1": true,}
-
createDpGroupTask
static SceneTask createDpGroupTask(long groupId, HashMap<String, Object> tasks)
Create object of device groups type task
- Parameters:
groupId
- id of device grouptasks
- data point map{"1": true,}
-
createDelayTask
static SceneTask createDelayTask(int minute, int second)
Create object of delay time type task
- Parameters:
minute
- Minute intervalsecond
- Second interval
-
createPushMessage
static SceneTask createPushMessage()
Create object of push message type task
-
createPhoneNotice
static SceneTask createPhoneNotice()
Create object of phone services type task
-
isDevDelMark
boolean isDevDelMark()
-
setDevOnline
void setDevOnline(boolean devOnline)
-
getSceneIdBean
SceneIdBean getSceneIdBean()
-
setSceneId
void setSceneId(SceneIdBean sceneIdBean)
-
equals
boolean equals(Object o)
-
hashCode
int hashCode()
-
-
-
-