public class FunctionRegistration<T> extends Object
| Constructor and Description |
|---|
FunctionRegistration(T target) |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getNames() |
Map<String,String> |
getProperties() |
T |
getTarget() |
FunctionType |
getType() |
FunctionRegistration<T> |
name(String name) |
FunctionRegistration<T> |
names(Collection<String> names) |
FunctionRegistration<T> |
names(String... names) |
FunctionRegistration<T> |
properties(Map<String,String> properties) |
void |
setNames(Set<String> names)
Will set the names for this registration clearing all previous names first.
|
FunctionRegistration<T> |
target(T target)
Allows to override the target of this registration with a new target that typically
wraps the original target.
|
FunctionRegistration<T> |
type(Type type) |
public FunctionRegistration(T target)
public FunctionType getType()
public void setNames(Set<String> names)
names(Collection) or name(String) or names(String...)
operations.names - public T getTarget()
public FunctionRegistration<T> properties(Map<String,String> properties)
public FunctionRegistration<T> type(Type type)
public FunctionRegistration<T> target(T target)
Flux counterpart (e.g., Function into FluxFunction)target - new targetpublic FunctionRegistration<T> name(String name)
public FunctionRegistration<T> names(Collection<String> names)
public FunctionRegistration<T> names(String... names)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.