Class

io.atomicbits.scraml.generator.codegen

ActionGenerator

Related Doc: package codegen

Permalink

case class ActionGenerator(actionCode: ActionCode) extends Product with Serializable

Created by peter on 20/01/17.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ActionGenerator
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ActionGenerator(actionCode: ActionCode)

    Permalink

Type Members

  1. sealed trait AcceptHeaderSegment extends HeaderSegment

    Permalink
  2. case class ActionPath(contentHeader: ContentHeaderSegment, acceptHeader: AcceptHeaderSegment, action: ActionSelection) extends Product with Serializable

    Permalink
  3. case class ActualAcceptHeaderSegment(header: ResponseType) extends AcceptHeaderSegment with Product with Serializable

    Permalink
  4. case class ActualContentHeaderSegment(header: ContentType) extends ContentHeaderSegment with Product with Serializable

    Permalink
  5. sealed trait ContentHeaderSegment extends HeaderSegment

    Permalink
  6. sealed trait HeaderSegment extends AnyRef

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object NoAcceptHeaderSegment extends AcceptHeaderSegment with Product with Serializable

    Permalink
  5. object NoContentHeaderSegment extends ContentHeaderSegment with Product with Serializable

    Permalink
  6. val actionCode: ActionCode

    Permalink
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def generateActionFunctions(resourceClassDefinition: ResourceClassDefinition)(implicit platform: Platform): SourceCodeFragment

    Permalink

    The reason why we treat all actions of a resource together is that certain paths towards the actual action execution of the resource's actions may overlap when it concerns actions that have overlapping mandatory content-type and/or accept header paths.

    The reason why we treat all actions of a resource together is that certain paths towards the actual action execution of the resource's actions may overlap when it concerns actions that have overlapping mandatory content-type and/or accept header paths. Although such situations may be rare, we want to support them well, so we pass all actions of a single resource together.

    resourceClassDefinition

    The resource class definition of the resource whose actions are going to be processed (NOT recursively!)

    returns

    A list of action function definitions or action paths that lead to the action function. Action paths will only be required if multiple contenttype and/or accept headers will lead to a different typed body and/or response (we don't support those yet, but we will do so in the future).

  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  18. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped