Class

spacro.tasks

SandboxTaskConfig

Related Doc: package tasks

Permalink

case class SandboxTaskConfig(projectName: String, serverDomain: String, interface: String, httpPort: Int, httpsPort: Int, hitDataService: HITDataService) extends TaskConfig with Product with Serializable

Complete configuration for running on the sandbox.

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

Instance Constructors

  1. new SandboxTaskConfig(projectName: String, serverDomain: String, interface: String, httpPort: Int, httpsPort: Int, hitDataService: HITDataService)

    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. val actorSystem: ActorSystem

    Permalink

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

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

    Definition Classes
    SandboxTaskConfigTaskConfig
  5. final def asInstanceOf[T0]: T0

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

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

    Permalink
    Definition Classes
    AnyRef
  8. val externalSubmitURL: String

    Permalink

    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.

    Definition Classes
    SandboxTaskConfigTaskConfig
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. val hitDataService: HITDataService

    Permalink

    Service for storing and getting finished HIT data

    Service for storing and getting finished HIT data

    Definition Classes
    SandboxTaskConfigTaskConfig
  12. val httpPort: Int

    Permalink

    What port we're hosting HTTP at.

    What port we're hosting HTTP at.

    Definition Classes
    SandboxTaskConfigTaskConfig
  13. val httpsPort: Int

    Permalink

    What port we're hosting HTTPS at.

    What port we're hosting HTTPS at.

    Definition Classes
    SandboxTaskConfigTaskConfig
  14. val interface: String

    Permalink

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

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

    Definition Classes
    SandboxTaskConfigTaskConfig
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. val isProduction: Boolean

    Permalink

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

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

    Definition Classes
    SandboxTaskConfigTaskConfig
  17. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  20. val projectName: String

    Permalink

    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

    Definition Classes
    SandboxTaskConfigTaskConfig
  21. val serverDomain: String

    Permalink

    The domain at which we're hosting our server.

    The domain at which we're hosting our server.

    Definition Classes
    SandboxTaskConfigTaskConfig
  22. val service: AmazonMTurk

    Permalink

    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.

    Definition Classes
    SandboxTaskConfigTaskConfig
  23. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. val workerUrl: String

    Permalink
    Definition Classes
    SandboxTaskConfigTaskConfig

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from TaskConfig

Inherited from AnyRef

Inherited from Any

Ungrouped