public final class ServiceGroupMeta extends Object implements io.toro.martini.service.ServiceDescriptor
Modifier and Type | Field and Description |
---|---|
(package private) static String |
SEPARATOR |
Constructor and Description |
---|
ServiceGroupMeta(ServiceGroup.Type serviceGroupType,
String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static ServiceGroupMeta |
from(String str) |
String |
getName() |
ServiceGroup.Type |
getServiceGroupType() |
String |
getServiceString() |
int |
hashCode() |
static boolean |
isParsable(String str)
Checks if the given input can be parsed.
|
io.toro.martini.service.ServiceMeta |
toService(String serviceName) |
String |
toString() |
static final String SEPARATOR
public ServiceGroupMeta(ServiceGroup.Type serviceGroupType, String name)
public String getName()
public ServiceGroup.Type getServiceGroupType()
public static ServiceGroupMeta from(String str)
public static boolean isParsable(String str)
str
- the string to parsepublic io.toro.martini.service.ServiceMeta toService(String serviceName)
public String getServiceString()
getServiceString
in interface io.toro.martini.service.ServiceDescriptor
Copyright © 2021. All rights reserved.