class ExtendsResolutionStage extends ResolutionStage with PlatformSecrets
- Get a queue of resource types for this Endpoint.
- Resolve each resource type and merge each one to the endpoint. Start with the closest to the endpoint.
- Get the traits as branches, as described in the spec, to get the order of the traits to apply.
- Resolve each trait and merge each one to the operation in the provided order..
- 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: ProfileName, keepEditingInfo: Boolean, fromOverlay: Boolean = false, visited: Set[String] = mutable.Set())(implicit errorHandler: ErrorHandler)
Type Members
- case class Branches()(implicit extendsContext: RamlWebApiContext) extends Product with Serializable
- 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])(implicit ctx: RamlWebApiContext): EndPoint
Apply specified ResourceTypes to given EndPoint.
- def asEndPoint(r: ParametrizedResourceType, context: Context, apiContext: RamlWebApiContext, tree: ElementTree): EndPoint
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def ctx(): RamlWebApiContext
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
implicit
val
errorHandler: ErrorHandler
- Definition Classes
- ExtendsResolutionStage → ResolutionStage
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- val fromOverlay: Boolean
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val keepEditingInfo: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
val
platform: Platform
- Definition Classes
- PlatformSecrets
-
def
resolve[T <: BaseUnit](model: T): T
- 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( ... ) @native()