Interface TypedModeledFramework0<M>
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface TypedModeledFramework0<M>Same asTypedModeledFramework, but with 0 parameters
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static <M> TypedModeledFramework0<M>from(ModeledFrameworkBuilder<M> frameworkBuilder, ModelSpecBuilder<M> modelSpecBuilder, java.lang.String pathWithIds)Return a new TypedModeledFramework using the given modeled framework builder, model spec builder and a path with ids.static <M> TypedModeledFramework0<M>from(ModeledFrameworkBuilder<M> frameworkBuilder, TypedModelSpec0<M> modelSpec)Return a new TypedModeledFramework using the given modeled framework builder and typed model spec.ModeledFramework<M>resolved(AsyncCuratorFramework client)
-
-
-
Method Detail
-
resolved
ModeledFramework<M> resolved(AsyncCuratorFramework client)
-
from
static <M> TypedModeledFramework0<M> from(ModeledFrameworkBuilder<M> frameworkBuilder, TypedModelSpec0<M> modelSpec)
Return a new TypedModeledFramework using the given modeled framework builder and typed model spec. Whenresolved(org.apache.curator.x.async.AsyncCuratorFramework)is called the actual ModeledFramework is generated with the resolved model spec- Parameters:
frameworkBuilder- ModeledFrameworkBuildermodelSpec- TypedModelSpec- Returns:
- new TypedModeledFramework
-
from
static <M> TypedModeledFramework0<M> from(ModeledFrameworkBuilder<M> frameworkBuilder, ModelSpecBuilder<M> modelSpecBuilder, java.lang.String pathWithIds)
Return a new TypedModeledFramework using the given modeled framework builder, model spec builder and a path with ids. Whenresolved(org.apache.curator.x.async.AsyncCuratorFramework)is called the actual ModeledFramework is generated with the resolved model spec and resolved path- Parameters:
frameworkBuilder- ModeledFrameworkBuildermodelSpecBuilder- model spec builderpathWithIds- path with {XXXX} parameters- Returns:
- new TypedModeledFramework
-
-