public class Configuration extends Config
Configuration types which extend from this type are supported automatically by the kcs configuration loader.
Constructor and Description |
---|
Configuration()
Create a new Configuration
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getGroupKind()
Deprecated.
This operation has been replaced by getType(). To preserve backwards compatibility, the configuration service continues to call getGroupKind() but the default implementation of getGroupKind() has been updated to call getType(). For future compatibility, move implementations of getGroupKind(), if any, to getType(), and remove getGroupKind(). |
java.lang.String |
getType()
Returns the configuration type identifier.
|
getConfigGroupKind, getVersion
public Configuration()
public java.lang.String getType()
Returns the configuration type identifier.
This operation may be implemented by any type extending com.kabira.platform.kcs.Configuration.
It should return the name of the configuration type for which configuration notifiers register.
The default implementation of getType() returns the package name as the configuration type.
A string identifying the configuration type.
@Deprecated public java.lang.String getGroupKind()
This operation has been replaced by getType(). To preserve backwards compatibility, the configuration service continues to call getGroupKind() but the default implementation of getGroupKind() has been updated to call getType(). For future compatibility, move implementations of getGroupKind(), if any, to getType(), and remove getGroupKind().
A string identifying a GroupKind.
This operation may be implemented by any type extending from kcs::Configuration.
It should return the name of the GroupKind for which the configuration notifier registers.
The default implementation calls getType(). The default implementation of getType() returns the package name as the configuration type.