类 FuzzyGroupKeyPattern.GroupKeyState
java.lang.Object
com.alibaba.nacos.common.utils.FuzzyGroupKeyPattern.GroupKeyState
- 封闭类:
- FuzzyGroupKeyPattern
-
构造器概要
构造器构造器说明GroupKeyState(String groupKey, boolean exist) Constructs a new ConfigState instance with the given group key and existence flag. -
方法概要
修饰符和类型方法说明Retrieves the group key associated with the configuration.booleanisExist()Checks whether the configuration exists or not.voidsetExist(boolean exist) Sets the existence flag of the configuration.voidsetGroupKey(String groupKey) Sets the group key associated with the configuration.
-
构造器详细资料
-
GroupKeyState
Constructs a new ConfigState instance with the given group key and existence flag.- 参数:
groupKey- The group key associated with the configuration.exist-trueif the configuration exists,falseotherwise.
-
-
方法详细资料
-
getGroupKey
Retrieves the group key associated with the configuration.- 返回:
- The group key.
-
setGroupKey
Sets the group key associated with the configuration.- 参数:
groupKey- The group key to set.
-
isExist
public boolean isExist()Checks whether the configuration exists or not.- 返回:
trueif the configuration exists,falseotherwise.
-
setExist
public void setExist(boolean exist) Sets the existence flag of the configuration.- 参数:
exist-trueif the configuration exists,falseotherwise.
-