public static class GroupConfiguration.Builder extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
cooldown |
protected int |
maxEntities |
protected Map<String,String> |
metadata |
protected int |
minEntities |
protected String |
name |
Constructor and Description |
---|
GroupConfiguration.Builder() |
Modifier and Type | Method and Description |
---|---|
GroupConfiguration |
build() |
GroupConfiguration.Builder |
cooldown(int cooldown)
Required.
|
GroupConfiguration.Builder |
fromGroupConfiguration(GroupConfiguration in) |
GroupConfiguration.Builder |
maxEntities(int maxEntities)
Optional.
|
GroupConfiguration.Builder |
metadata(Map<String,String> metadata)
Optional.
|
GroupConfiguration.Builder |
minEntities(int minEntities)
Required.
|
GroupConfiguration.Builder |
name(String name)
Required.
|
protected String name
protected int cooldown
protected int minEntities
protected int maxEntities
public GroupConfiguration.Builder name(String name)
name
- The name of this GroupConfiguration.GroupConfiguration.getName()
public GroupConfiguration.Builder cooldown(int cooldown)
cooldown
- The cooldown for this GroupConfiguration.GroupConfiguration.getCooldown()
public GroupConfiguration.Builder minEntities(int minEntities)
minEntities
- The cooldown for this GroupConfiguration.GroupConfiguration.getCooldown()
public GroupConfiguration.Builder maxEntities(int maxEntities)
maxEntities
- The maxEntities for this GroupConfiguration.GroupConfiguration.getCooldown()
public GroupConfiguration.Builder metadata(Map<String,String> metadata)
metadata
- The metadata for this GroupConfiguration.GroupConfiguration.getMetadata()
public GroupConfiguration build()
public GroupConfiguration.Builder fromGroupConfiguration(GroupConfiguration in)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.