RuntimeCapability.Builder<T> |
RuntimeCapability.Builder.addRequirements(String... requirements) |
Adds the names of other capabilities that this capability requires.
|
RuntimeCapability.Builder<T> |
RuntimeCapability.Builder.addRequirements(NullaryServiceDescriptor<?>... requirements) |
Adds the names of other capabilities that this capability requires.
|
static RuntimeCapability.Builder<Void> |
RuntimeCapability.Builder.of(String name) |
Create a builder for a non-dynamic capability with no custom runtime API.
|
static RuntimeCapability.Builder<Void> |
RuntimeCapability.Builder.of(String name,
boolean dynamic) |
Create a builder for a possibly dynamic capability with no custom runtime API.
|
static RuntimeCapability.Builder<Void> |
RuntimeCapability.Builder.of(String name,
boolean dynamic,
Class<?> serviceValueType) |
Create a builder for a possibly dynamic capability that installs a service with the given value type.
|
static <T> RuntimeCapability.Builder<T> |
RuntimeCapability.Builder.of(String name,
boolean dynamic,
T runtimeAPI) |
Create a builder for a possibly dynamic capability that provides the given custom runtime API.
|
static RuntimeCapability.Builder<Void> |
RuntimeCapability.Builder.of(String name,
Class<?> serviceValueType) |
Create a builder for a non-dynamic capability that installs a service with the given value type.
|
static <T> RuntimeCapability.Builder<T> |
RuntimeCapability.Builder.of(String name,
T runtimeAPI) |
Create a builder for a non-dynamic capability that provides the given custom runtime API.
|
static RuntimeCapability.Builder<Void> |
RuntimeCapability.Builder.of(BinaryServiceDescriptor<?> descriptor) |
Creates a builder for a dynamic capability using the name and type of the specified service descriptor.
|
static RuntimeCapability.Builder<Void> |
RuntimeCapability.Builder.of(NullaryServiceDescriptor<?> descriptor) |
Creates a builder for a non-dynamic capability using the name and type of the specified service descriptor.
|
static RuntimeCapability.Builder<Void> |
RuntimeCapability.Builder.of(QuaternaryServiceDescriptor<?> descriptor) |
Creates a builder for a dynamic capability using the name and type of the specified service descriptor.
|
static RuntimeCapability.Builder<Void> |
RuntimeCapability.Builder.of(TernaryServiceDescriptor<?> descriptor) |
Creates a builder for a dynamic capability using the name and type of the specified service descriptor.
|
static RuntimeCapability.Builder<Void> |
RuntimeCapability.Builder.of(UnaryServiceDescriptor<?> descriptor) |
Creates a builder for a dynamic capability using the name and type of the specified service descriptor.
|
RuntimeCapability.Builder<T> |
RuntimeCapability.Builder.setAllowMultipleRegistrations(boolean allowMultipleRegistrations) |
Sets whether this capability can be registered at more than one point within the same
overall scope.
|
RuntimeCapability.Builder<T> |
RuntimeCapability.Builder.setDynamicNameMapper(Function<PathAddress,String[]> mapper) |
|
RuntimeCapability.Builder<T> |
RuntimeCapability.Builder.setServiceType(Class<?> type) |
Sets that the capability installs a service with the given value type.
|
RuntimeCapability.Builder<T> |
RuntimeCapability.Builder.setStability(Stability stability) |
Sets the stability level of this capability.
|