public abstract class PService extends Object
Constructor and Description |
---|
PService(String programName,
String name,
PServiceProvider extendsService,
Collection<? extends PServiceMethod> methods) |
PService(String programName,
String name,
PServiceProvider extendsService,
PServiceMethod[] methods) |
Modifier and Type | Method and Description |
---|---|
PService |
getExtendsService()
Get the service that this service extends.
|
abstract PServiceMethod |
getMethod(String name)
Get the method definition for the given method name.
|
Collection<? extends PServiceMethod> |
getMethods()
Get the collection of methods for the service, including all inherited
services.
|
String |
getName() |
String |
getProgramName() |
String |
getQualifiedName() |
String |
getQualifiedName(String programContext) |
public PService(@Nonnull String programName, @Nonnull String name, @Nullable PServiceProvider extendsService, @Nonnull Collection<? extends PServiceMethod> methods)
public PService(@Nonnull String programName, @Nonnull String name, @Nullable PServiceProvider extendsService, @Nonnull PServiceMethod[] methods)
@Nonnull public String getProgramName()
@Nonnull public String getQualifiedName(String programContext)
programContext
- The relative program context.@Nonnull public String getQualifiedName()
@Nullable public PService getExtendsService()
@Nonnull public Collection<? extends PServiceMethod> getMethods()
@Nullable public abstract PServiceMethod getMethod(String name)
name
- The service method name.Copyright © 2015–2018 morimekta.net. All rights reserved.