public class ProblemStartedAction extends ResponseAction implements ItemStartedAction
EXCLUDE_TIMESTAMP, EXTRA_DATA_DEV_CONSOLE, EXTRA_DATA_NAVIGATOR, EXTRA_DATA_TERMINATOR, INCLUDE_TIMESTAMP
Constructor and Description |
---|
ProblemStartedAction(java.lang.String uid) |
ProblemStartedAction(java.lang.String uid,
Manifest manifest) |
Modifier and Type | Method and Description |
---|---|
TutorStrategyType |
getActiveTutoringType() |
static java.lang.String |
getClassType() |
java.lang.String |
getFingerPrint()
Returns a string, based the content this action refers to, to uniquely identify this action
for the purpose of determining whether actions are duplicates.
|
int |
getMaxAttemptsAndHints() |
boolean |
isCBViewable()
Returns whether the Credit Bar is shown for this Problem
|
boolean |
isPCSEligible()
Returns whether this Problem supports Partial Credit Scoring
|
void |
setActiveTutoringType(TutorStrategyType activeTutoringType) |
void |
setCBViewable(boolean isCBViewable)
Specifies whether the Credit Bar is shown for this Problem
|
void |
setMaxAttemptsAndHints(int maxAttemptsAndHints) |
void |
setPCSEligible(boolean isPCSEligible)
Sets whether this Problem supports Partial Credit Scoring
|
isFirstResponse, setIsFirstResponse, toString
getProblemType, getRubyProblemType, setProblemType, setRubyProblemType
addElementToExtraData, addExtraData, getAssignmentXId, getAssignmentXRef, getBaseFingerPrint, getBaseFingerPrint, getContentKey, getExtraData, getExtraData, getManifestKey, getNavigator, getNetworkState, getPath, getTerminator, getTimestamp, getUserXId, getUserXRef, isForMe, isForMe, isScaffolding, modifyExtraDataElement, removeExtraDataEntry, setAssignmentXId, setAssignmentXRef, setContentKey, setExtraData, setManifestKey, setNavigator, setNetworkState, setPath, setScaffolding, setTerminator, setTimestamp, setUserXId, setUserXRef, shouldBePersisted
createKey, createKey, equals, extractType, extractUID, getKey, getShortKey, getShortKey, getType, getUID, getValidatorUtilities, setValidatorUtilities, validate, validateKey
public ProblemStartedAction(java.lang.String uid, Manifest manifest)
public ProblemStartedAction(java.lang.String uid)
public static java.lang.String getClassType()
public TutorStrategyType getActiveTutoringType()
public void setActiveTutoringType(TutorStrategyType activeTutoringType)
public boolean isPCSEligible()
public void setPCSEligible(boolean isPCSEligible)
public boolean isCBViewable()
public void setCBViewable(boolean isCBViewable)
public int getMaxAttemptsAndHints()
public void setMaxAttemptsAndHints(int maxAttemptsAndHints)
public java.lang.String getFingerPrint()
Action
Subclasses must override this base implementation when if fact multiple instances of an Action are expected and acceptable. For example: While there should be one and only one user response with a correct answer, there can be multiple incorrect user responses.
The each subclass can choose to overwrite or modify the return finger print string to reflect its own semantics of uniqueness.
getFingerPrint
in class Action