c

amf.plugins.document.webapi.resolution.stages

ExtendsResolutionStage

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
PlatformSecrets, ResolutionStage, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExtendsResolutionStage
  2. PlatformSecrets
  3. ResolutionStage
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ExtendsResolutionStage(profile: ProfileName, keepEditingInfo: Boolean, fromOverlay: Boolean = false, visited: Set[String] = mutable.Set())(implicit errorHandler: ErrorHandler)

Type Members

  1. case class Branches()(implicit extendsContext: RamlWebApiContext) extends Product with Serializable
  2. case class ResourceTypeResolver(model: BaseUnit) extends Product with Serializable
  3. case class TraitBranch(key: Key, operation: Operation, children: Seq[Branch]) extends Branch with Product with Serializable
  4. case class TraitResolver() extends Product with Serializable

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(endpoint: EndPoint, resourceTypes: ListBuffer[EndPoint])(implicit ctx: RamlWebApiContext): EndPoint

    Apply specified ResourceTypes to given EndPoint.

  5. def asEndPoint(r: ParametrizedResourceType, context: Context, apiContext: RamlWebApiContext, tree: ElementTree): EndPoint
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. def ctx(): RamlWebApiContext
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. implicit val errorHandler: ErrorHandler
    Definition Classes
    ExtendsResolutionStage → ResolutionStage
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. val fromOverlay: Boolean
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. val keepEditingInfo: Boolean
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. val platform: Platform
    Definition Classes
    PlatformSecrets
  22. def resolve[T <: BaseUnit](model: T): T
    Definition Classes
    ExtendsResolutionStage → ResolutionStage
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from PlatformSecrets

Inherited from ResolutionStage

Inherited from AnyRef

Inherited from Any

Ungrouped