Class GroupsManagerConfig
java.lang.Object
org.drasyl.node.plugin.groups.manager.GroupsManagerConfig
This class represents the configuration for the
GroupsManagerPlugin
.
This is an immutable object.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Implements the builder-pattern for this configuration. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
int
hashCode()
boolean
static GroupsManagerConfig.Builder
Returns a specific builder for aGroupsManagerConfig
.static GroupsManagerConfig.Builder
newBuilder
(GroupsManagerConfig config) Returns a specific builder for aGroupsManagerConfig
.toString()
-
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() -
newBuilder
Returns a specific builder for aGroupsManagerConfig
.- Returns:
GroupsManagerConfig
builder
-
newBuilder
Returns a specific builder for aGroupsManagerConfig
.- Returns:
GroupsManagerConfig
builder
-