类 EnvironmentStore
- java.lang.Object
-
- cn.featherfly.common.flux.store.Store<EnvironmentAction<?>>
-
- cn.featherfly.easyapi.android.EnvironmentStore
-
- 所有已实现的接口:
cn.featherfly.easyapi.Environment
public class EnvironmentStore extends cn.featherfly.common.flux.store.Store<EnvironmentAction<?>> implements cn.featherfly.easyapi.Environment
The type Environment store.
-
-
字段概要
字段 修饰符和类型 字段 说明 static EnvironmentStoreINSTANCEThe constant ENV.
-
构造器概要
构造器 限定符 构造器 说明 protectedEnvironmentStore()Instantiates a new Environment store.
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 static EnvironmentStoreget()Get environment store.<O> Oget(java.lang.Class<O> type)<O> Oget(java.lang.String key)cn.featherfly.easyapi.pojo.UsergetCurrentUser()cn.featherfly.common.location.LocationPointgetLocation()cn.featherfly.common.app.PlatformgetPlatform()cn.featherfly.common.app.VersiongetVersion()protected java.util.Map<cn.featherfly.common.flux.action.Action.Type,cn.featherfly.common.flux.store.StoreAction<EnvironmentAction<?>>>initStoreActions()booleanisDebugEnable()
-
-
-
字段详细资料
-
INSTANCE
public static final EnvironmentStore INSTANCE
The constant ENV.
-
-
方法详细资料
-
initStoreActions
protected java.util.Map<cn.featherfly.common.flux.action.Action.Type,cn.featherfly.common.flux.store.StoreAction<EnvironmentAction<?>>> initStoreActions()
- 指定者:
initStoreActions在类中cn.featherfly.common.flux.store.Store<EnvironmentAction<?>>
-
get
public static EnvironmentStore get()
Get environment store.- 返回:
- the environment store
-
getLocation
public cn.featherfly.common.location.LocationPoint getLocation()
- 指定者:
getLocation在接口中cn.featherfly.easyapi.Environment
-
getVersion
public cn.featherfly.common.app.Version getVersion()
- 指定者:
getVersion在接口中cn.featherfly.easyapi.Environment
-
getPlatform
public cn.featherfly.common.app.Platform getPlatform()
- 指定者:
getPlatform在接口中cn.featherfly.easyapi.Environment
-
getCurrentUser
public cn.featherfly.easyapi.pojo.User getCurrentUser()
- 指定者:
getCurrentUser在接口中cn.featherfly.easyapi.Environment
-
isDebugEnable
public boolean isDebugEnable()
- 指定者:
isDebugEnable在接口中cn.featherfly.easyapi.Environment
-
get
public <O> O get(java.lang.String key)
- 指定者:
get在接口中cn.featherfly.easyapi.Environment
-
get
public <O> O get(java.lang.Class<O> type)
- 指定者:
get在接口中cn.featherfly.easyapi.Environment
-
-