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.
- Alphabetic
- By Inheritance
- TaskConfig
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
val
actorSystem: ActorSystem
The ActorSystem we're using to manage tasks and host the server.
-
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.
-
abstract
val
hitDataService: HITDataService
Service for storing and getting finished HIT data
-
abstract
val
httpPort: Int
What port we're hosting HTTP at.
-
abstract
val
httpsPort: Int
What port we're hosting HTTPS at.
-
abstract
val
interface: String
The interface (IP address) we're using to host the server.
-
abstract
val
isProduction: Boolean
Whether we are working in production as opposed to the sandbox.
-
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 -
abstract
val
serverDomain: String
The domain at which we're hosting our server.
-
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.
- abstract val workerUrl: String
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )