Packages

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: String, removeFromModel: Boolean = true)

Type Members

  1. case class ResourceTypeResolver (model: BaseUnit) extends Product with Serializable
  2. case class TraitBranch (key: Key, operation: Operation, children: Seq[Branch]) extends Branch with Product with Serializable
  3. 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]): EndPoint

    Apply specified ResourceTypes to given EndPoint.

  5. def asEndPoint(r: ParametrizedResourceType, context: Context): EndPoint
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. implicit val ctx: RamlWebApiContext

    Default to raml10 context.

  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  18. val platform: Platform
    Definition Classes
    PlatformSecrets
  19. val removeFromModel: Boolean
  20. def resolve(model: BaseUnit): BaseUnit
    Definition Classes
    ExtendsResolutionStage → ResolutionStage
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. object Branches

Inherited from PlatformSecrets

Inherited from ResolutionStage

Inherited from AnyRef

Inherited from Any

Ungrouped