Package org.apache.kafka.common.config
Class ConfigValue
- java.lang.Object
-
- org.apache.kafka.common.config.ConfigValue
-
public class ConfigValue extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ConfigValue(java.lang.String name)
ConfigValue(java.lang.String name, java.lang.Object value, java.util.List<java.lang.Object> recommendedValues, java.util.List<java.lang.String> errorMessages)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addErrorMessage(java.lang.String errorMessage)
boolean
equals(java.lang.Object o)
java.util.List<java.lang.String>
errorMessages()
int
hashCode()
java.lang.String
name()
java.util.List<java.lang.Object>
recommendedValues()
void
recommendedValues(java.util.List<java.lang.Object> recommendedValues)
java.lang.String
toString()
java.lang.Object
value()
void
value(java.lang.Object value)
boolean
visible()
void
visible(boolean visible)
-
-
-
Method Detail
-
name
public java.lang.String name()
-
value
public java.lang.Object value()
-
recommendedValues
public java.util.List<java.lang.Object> recommendedValues()
-
errorMessages
public java.util.List<java.lang.String> errorMessages()
-
visible
public boolean visible()
-
value
public void value(java.lang.Object value)
-
recommendedValues
public void recommendedValues(java.util.List<java.lang.Object> recommendedValues)
-
addErrorMessage
public void addErrorMessage(java.lang.String errorMessage)
-
visible
public void visible(boolean visible)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-