edu
.
umass
.
cs
.
automan
.
core
.
question
Question
abstract
class
Question
extends
AnyRef
Linear Supertypes
AnyRef
,
Any
Known Subclasses
CheckboxDistributionQuestion
,
CheckboxQuestion
,
DistributionQuestion
,
FreeTextDistributionQuestion
,
FreeTextQuestion
,
MTCheckboxDistributionQuestion
,
MTCheckboxQuestion
,
MTFreeTextDistributionQuestion
,
MTFreeTextQuestion
,
MTRadioButtonDistributionQuestion
,
MTRadioButtonQuestion
,
RadioButtonDistributionQuestion
,
RadioButtonQuestion
,
ScalarQuestion
Ordering
Alphabetic
By inheritance
Inherited
Question
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
Question
()
Type Members
abstract
type
A
abstract
type
AA
<:
AbstractAnswer
[
A
]
abstract
type
O
<:
Outcome
[
A
]
abstract
type
PP
<:
PricePolicy
class
QuestionStillExecutingException
extends
Exception
abstract
type
TP
<:
TimeoutPolicy
abstract
type
VP
<:
ValidationPolicy
Abstract Value Members
abstract
def
getOutcome
(
adapter:
AutomanAdapter
)
:
O
Attributes
protected[
edu.umass.cs.automan
]
abstract
def
getQuestionType
:
QuestionType
Attributes
protected[
edu.umass.cs.automan
]
abstract
def
memo_hash
:
String
abstract
def
num_possibilities
:
BigInt
abstract
def
toMockResponse
(
question_id:
UUID
,
response_time:
Date
,
a:
A
)
:
MockResponse
Attributes
protected[
edu.umass.cs.automan
]
Concrete Value Members
final
def
!=
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
var
_before_filter
: (
A
) ⇒
A
Attributes
protected
var
_blacklisted_workers
:
List
[
String
]
Attributes
protected
var
_budget
:
Option
[
BigDecimal
]
Attributes
protected
var
_dont_randomize_options
:
Boolean
Attributes
protected
var
_dont_reject
:
Boolean
Attributes
protected
var
_dry_run
:
Boolean
Attributes
protected
var
_id
:
UUID
Attributes
protected
var
_image
:
Option
[
File
]
Attributes
protected
var
_image_alt_text
:
Option
[
String
]
Attributes
protected
var
_image_url
:
Option
[
String
]
Attributes
protected
var
_initial_worker_timeout_in_s
:
Int
Attributes
protected
var
_max_replicas
:
Option
[
Int
]
Attributes
protected
var
_mock_answers
:
List
[
MockAnswer
[
A
]]
Attributes
protected
var
_price_policy
:
Option
[
Class
[
PP
]]
Attributes
protected[
edu.umass.cs.automan
]
var
_price_policy_instance
:
PP
Attributes
protected[
edu.umass.cs.automan
]
var
_question_timeout_multiplier
:
Double
Attributes
protected
var
_text
:
Option
[
String
]
Attributes
protected
var
_time_value_per_hour
:
Option
[
BigDecimal
]
Attributes
protected
var
_timeout_policy
:
Option
[
Class
[
TP
]]
Attributes
protected[
edu.umass.cs.automan
]
var
_timeout_policy_instance
:
TP
Attributes
protected[
edu.umass.cs.automan
]
var
_title
:
Option
[
String
]
Attributes
protected
var
_update_frequency_ms
:
Int
Attributes
protected
var
_validation_policy
:
Option
[
Class
[
VP
]]
Attributes
protected[
edu.umass.cs.automan
]
var
_validation_policy_instance
:
VP
Attributes
protected[
edu.umass.cs.automan
]
var
_wage
:
BigDecimal
Attributes
protected
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
before_filter
: (
A
) ⇒
A
def
before_filter_=
(
f: (
A
) ⇒
A
)
:
Unit
def
blacklist_worker
(
worker_id:
String
)
:
Unit
def
blacklisted_workers
:
List
[
String
]
def
budget
:
BigDecimal
def
budget_=
(
b:
BigDecimal
)
:
Unit
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
dont_reject
:
Boolean
def
dont_reject_=
(
r:
Boolean
)
:
Unit
def
dry_run
:
Boolean
def
dry_run_=
(
dr:
Boolean
)
:
Unit
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
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
def
id
:
UUID
def
id_=
(
id:
UUID
)
:
Unit
def
id_string
:
String
def
image
:
File
def
image_=
(
f:
File
)
:
Unit
def
image_alt_text
:
String
def
image_alt_text_=
(
s:
String
)
:
Unit
def
image_url
:
String
def
image_url_=
(
s:
String
)
:
Unit
def
initial_worker_timeout_in_s
:
Int
def
initial_worker_timeout_in_s_=
(
t:
Int
)
:
Unit
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
max_replicas
:
Option
[
Int
]
def
max_replicas_=
(
m:
Int
)
:
Unit
def
mock_answers
:
List
[
MockAnswer
[
A
]]
def
mock_answers_=
(
answers:
List
[
MockAnswer
[
A
]]
)
:
Unit
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
questionShutdownHook
()
:
Unit
Attributes
protected[
edu.umass.cs.automan
]
def
questionStartupHook
()
:
Unit
Attributes
protected[
edu.umass.cs.automan
]
def
question_timeout_multiplier
:
Double
def
question_timeout_multiplier_=
(
t:
Double
)
:
Unit
def
strategy
:
Class
[
VP
]
def
strategy_=
(
s:
Class
[
VP
]
)
:
Unit
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
text
:
String
def
text_=
(
s:
String
)
:
Unit
def
time_value_per_hour
:
BigDecimal
def
time_value_per_hour_=
(
v:
BigDecimal
)
:
Unit
def
title
:
String
def
title_=
(
t:
String
)
:
Unit
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
update_frequency_ms
:
Int
def
update_frequency_ms_=
(
ms:
Int
)
:
Unit
def
wage
:
BigDecimal
def
wage_=
(
w:
BigDecimal
)
:
Unit
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
@throws
(
...
)
Inherited from
AnyRef
Inherited from
Any
Ungrouped