case class ProductionTaskConfig(projectName: String, serverDomain: String, interface: String, httpPort: Int, httpsPort: Int, hitDataService: HITDataService) extends TaskConfig with Product with Serializable
Complete configuration for running on production.
- Alphabetic
- By Inheritance
- ProductionTaskConfig
- Serializable
- Serializable
- Product
- Equals
- TaskConfig
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ProductionTaskConfig(projectName: String, serverDomain: String, interface: String, httpPort: Int, httpsPort: Int, hitDataService: HITDataService)
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
-
val
actorSystem: ActorSystem
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
- ProductionTaskConfig → TaskConfig
-
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
-
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.
- Definition Classes
- ProductionTaskConfig → TaskConfig
-
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()
-
val
hitDataService: HITDataService
Service for storing and getting finished HIT data
Service for storing and getting finished HIT data
- Definition Classes
- ProductionTaskConfig → TaskConfig
-
val
httpPort: Int
What port we're hosting HTTP at.
What port we're hosting HTTP at.
- Definition Classes
- ProductionTaskConfig → TaskConfig
-
val
httpsPort: Int
What port we're hosting HTTPS at.
What port we're hosting HTTPS at.
- Definition Classes
- ProductionTaskConfig → TaskConfig
-
val
interface: String
The interface (IP address) we're using to host the server.
The interface (IP address) we're using to host the server.
- Definition Classes
- ProductionTaskConfig → TaskConfig
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
isProduction: Boolean
Whether we are working in production as opposed to the sandbox.
Whether we are working in production as opposed to the sandbox.
- Definition Classes
- ProductionTaskConfig → TaskConfig
-
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()
-
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- Definition Classes
- ProductionTaskConfig → TaskConfig
-
val
serverDomain: String
The domain at which we're hosting our server.
The domain at which we're hosting our server.
- Definition Classes
- ProductionTaskConfig → TaskConfig
-
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.
- Definition Classes
- ProductionTaskConfig → TaskConfig
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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( ... )
-
val
workerUrl: String
- Definition Classes
- ProductionTaskConfig → TaskConfig