public class

ConstraintItemBuilder

extends Object
java.lang.Object
   ↳ org.apache.helix.model.builder.ConstraintItemBuilder

Summary

Public Constructors
ConstraintItemBuilder()
Public Methods
ConstraintItemBuilder addConstraintAttribute(String attribute, String value)
add an attribute to constraint-item, overwrite if already exists
ConstraintItemBuilder addConstraintAttributes(Map<StringString> attributes)
ConstraintItem build()
Map<ClusterConstraints.ConstraintAttributeString> getAttributes()
String getConstraintValue()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ConstraintItemBuilder ()

Public Methods

public ConstraintItemBuilder addConstraintAttribute (String attribute, String value)

add an attribute to constraint-item, overwrite if already exists

public ConstraintItemBuilder addConstraintAttributes (Map<StringString> attributes)

public ConstraintItem build ()

public String getConstraintValue ()