Packages

sealed trait TaskConfig extends AnyRef

Contains the global configuration of our usage of the MTurk API, including relevant values (URLs, API hooks) and whether we are running on production or in the sandbox.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TaskConfig
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val actorSystem: ActorSystem

    The ActorSystem we're using to manage tasks and host the server.

  2. abstract val externalSubmitURL: String

    The URL used by HTMLQuestion and ExternalQuestion question types to submit assignments.

    The URL used by HTMLQuestion and ExternalQuestion question types to submit assignments. (See http://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_QuestionAnswerDataArticle.html for documentation on these question types.) In particular, if we want to provide our own HTML with which to render the task (which we usually do), instead of using the default "Submit HIT" button, we must make our own HTML form and embed it in the HIT. That form then needs to submit to this URL.

  3. abstract val hitDataService: HITDataService

    Service for storing and getting finished HIT data

  4. abstract val httpPort: Int

    What port we're hosting HTTP at.

  5. abstract val httpsPort: Int

    What port we're hosting HTTPS at.

  6. abstract val interface: String

    The interface (IP address) we're using to host the server.

  7. abstract val isProduction: Boolean

    Whether we are working in production as opposed to the sandbox.

  8. abstract val projectName: String

    Name of the project we're building your JS files with; used to determine what JS files the client asks for.

    Name of the project we're building your JS files with; used to determine what JS files the client asks for. Needs to agree with the project name in your build.sbt

  9. abstract val serverDomain: String

    The domain at which we're hosting our server.

  10. abstract val service: AmazonMTurk

    The API hook with which we communicate with MTurk.

    The API hook with which we communicate with MTurk. We need a different hook depending on whether we're in sandbox or production, because it uses a different URL.

  11. abstract val workerUrl: String

Concrete 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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped