class ExtendsResolutionStage extends ResolutionStage with PlatformSecrets
1) Get a queue of resource types for this Endpoint. 2) Resolve each resource type and merge each one to the endpoint. Start with the closest to the endpoint. 3) Get the traits as branches, as described in the spec, to get the order of the traits to apply. 4) Resolve each trait and merge each one to the operation in the provided order.. 5) Remove 'extends' property from the endpoint and from the operations.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ExtendsResolutionStage
- PlatformSecrets
- ResolutionStage
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new ExtendsResolutionStage(profile: String, removeFromModel: Boolean = true)
Type Members
- case class ResourceTypeResolver (model: BaseUnit) extends Product with Serializable
- case class TraitBranch (key: Key, operation: Operation, children: Seq[Branch]) extends Branch with Product with Serializable
- case class TraitResolver () extends Product with Serializable
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply(endpoint: EndPoint, resourceTypes: ListBuffer[EndPoint]): EndPoint
Apply specified ResourceTypes to given EndPoint.
- def asEndPoint(r: ParametrizedResourceType, context: Context): EndPoint
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
implicit
val
ctx: RamlWebApiContext
Default to raml10 context.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
val
platform: Platform
- Definition Classes
- PlatformSecrets
- val removeFromModel: Boolean
-
def
resolve(model: BaseUnit): BaseUnit
- Definition Classes
- ExtendsResolutionStage → ResolutionStage
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- object Branches