Package org.drasyl.plugin.groups.manager
Class GroupsManagerConfig
java.lang.Object
org.drasyl.plugin.groups.manager.GroupsManagerConfig
This class represents the configuration for the
GroupsManagerPlugin.
This is an immutable object.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classImplements the builder-pattern for this configuration. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GroupsManagerConfig.Builderbuilder()Returns a specific builder for aGroupsManagerConfig.static GroupsManagerConfig.Builderbuilder(GroupsManagerConfig config) Returns a specific builder for aGroupsManagerConfig.booleanintinthashCode()booleantoString()
-
Constructor Details
-
GroupsManagerConfig
public GroupsManagerConfig(com.typesafe.config.Config config)
-
-
Method Details
-
getDatabaseUri
-
getGroups
-
toString
-
isApiEnabled
public boolean isApiEnabled() -
getApiBindHost
-
getApiBindPort
public int getApiBindPort() -
equals
-
hashCode
public int hashCode() -
builder
Returns a specific builder for aGroupsManagerConfig.- Returns:
GroupsManagerConfigbuilder
-
builder
Returns a specific builder for aGroupsManagerConfig.- Returns:
GroupsManagerConfigbuilder
-