public class Consumer extends Object
2.2| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static Consumer |
from(String group,
String name)
Create a new consumer.
|
String |
getGroup() |
String |
getName() |
int |
hashCode() |
String |
toString() |
public static Consumer from(String group, String name)
group - name of the consumer group, must not be null or empty.name - name of the consumer, must not be null or empty.Consumer object.protected boolean canEqual(Object other)
public String getGroup()
public String getName()
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.