Class GroupBuilder
- java.lang.Object
-
- org.opennms.netmgt.flows.classification.persistence.api.GroupBuilder
-
public class GroupBuilder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description GroupBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Group
build()
GroupBuilder
withDescription(java.lang.String description)
GroupBuilder
withEnabled(boolean enabled)
GroupBuilder
withName(java.lang.String name)
GroupBuilder
withPosition(int position)
GroupBuilder
withReadOnly(boolean readOnly)
GroupBuilder
withRule(Rule rule)
GroupBuilder
withRules(java.util.function.Supplier<java.util.List<Rule>> rulesSupplier)
-
-
-
Method Detail
-
withName
public GroupBuilder withName(java.lang.String name)
-
withRule
public GroupBuilder withRule(Rule rule)
-
withDescription
public GroupBuilder withDescription(java.lang.String description)
-
withPosition
public GroupBuilder withPosition(int position)
-
withEnabled
public GroupBuilder withEnabled(boolean enabled)
-
withReadOnly
public GroupBuilder withReadOnly(boolean readOnly)
-
withRules
public GroupBuilder withRules(java.util.function.Supplier<java.util.List<Rule>> rulesSupplier)
-
build
public Group build()
-
-