@Immutable public class ThriftServiceMetadata extends Object
| Constructor and Description |
|---|
ThriftServiceMetadata(Class<?> serviceClass,
com.facebook.swift.codec.metadata.ThriftCatalog catalog) |
ThriftServiceMetadata(String name,
ThriftMethodMetadata... methods) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Map<String,ThriftMethodMetadata> |
getDeclaredMethods() |
com.google.common.collect.ImmutableList<String> |
getDocumentation() |
ThriftMethodMetadata |
getMethod(String name) |
Map<String,ThriftMethodMetadata> |
getMethods() |
String |
getName() |
ThriftServiceMetadata |
getParentService() |
com.google.common.collect.ImmutableList<ThriftServiceMetadata> |
getParentServices() |
static ThriftService |
getThriftServiceAnnotation(Class<?> serviceClass) |
int |
hashCode() |
public ThriftServiceMetadata(Class<?> serviceClass, com.facebook.swift.codec.metadata.ThriftCatalog catalog)
public ThriftServiceMetadata(String name, ThriftMethodMetadata... methods)
public String getName()
public ThriftMethodMetadata getMethod(String name)
public Map<String,ThriftMethodMetadata> getMethods()
public Map<String,ThriftMethodMetadata> getDeclaredMethods()
public com.google.common.collect.ImmutableList<String> getDocumentation()
public static ThriftService getThriftServiceAnnotation(Class<?> serviceClass)
public com.google.common.collect.ImmutableList<ThriftServiceMetadata> getParentServices()
public ThriftServiceMetadata getParentService()
Copyright © 2012-2016 Facebook, Inc.. All Rights Reserved.