Interface TypedModeledFramework2<M,P1,P2>
-
- 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 TypedModeledFramework2<M,P1,P2>Same asTypedModeledFramework, but with 2 parameters
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static <M,P1,P2>
TypedModeledFramework2<M,P1,P2>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,P1,P2>
TypedModeledFramework2<M,P1,P2>from(ModeledFrameworkBuilder<M> frameworkBuilder, TypedModelSpec2<M,P1,P2> modelSpec)Return a new TypedModeledFramework using the given modeled framework builder and typed model spec.ModeledFramework<M>resolved(AsyncCuratorFramework client, P1 p1, P2 p2)
-
-
-
Method Detail
-
resolved
ModeledFramework<M> resolved(AsyncCuratorFramework client, P1 p1, P2 p2)
-
from
static <M,P1,P2> TypedModeledFramework2<M,P1,P2> from(ModeledFrameworkBuilder<M> frameworkBuilder, TypedModelSpec2<M,P1,P2> modelSpec)
Return a new TypedModeledFramework using the given modeled framework builder and typed model spec. Whenresolved(AsyncCuratorFramework, Object, Object)is called the actual ModeledFramework is generated with the resolved model spec- Parameters:
frameworkBuilder- ModeledFrameworkBuildermodelSpec- TypedModelSpec- Returns:
- new TypedModeledFramework
-
from
static <M,P1,P2> TypedModeledFramework2<M,P1,P2> 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(AsyncCuratorFramework, Object, Object)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
-
-