|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectno.inspera.services.pedal.engine.EngineBuilder
public class EngineBuilder
SequencingBuilder uses builder pattern to build SequencingEngine object.
Constructor Summary | |
---|---|
EngineBuilder()
|
Method Summary | |
---|---|
EngineBuilder |
addEmpty()
Adds an empty sequence to the chain. |
EngineBuilder |
addSequencingChain(Sequence seq)
Adds the specified implementation of Sequence to the sequencing chain. |
AdaptiveEngine |
build()
This method is usually called when we are done with building a sequencing engine. |
static EngineBuilder |
create()
Creates a new SequencingBuilder. |
EngineBuilder |
setLearningStyle(SequencingMetadataItem learningStyle)
Sets the learning style of a user to the sequencing engine. |
EngineBuilder |
setLevelMap(java.util.Map<java.lang.Long,PEDAL.Level> levelMap)
Sets the mapping of module to learner level. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EngineBuilder()
Method Detail |
---|
public static EngineBuilder create()
public EngineBuilder setLearningStyle(SequencingMetadataItem learningStyle)
learningStyle
- the user learning style.
public EngineBuilder setLevelMap(java.util.Map<java.lang.Long,PEDAL.Level> levelMap)
levelMap
- the level mapping.
public EngineBuilder addEmpty()
public EngineBuilder addSequencingChain(Sequence seq)
seq
- the sequence to be added to the chain.
public AdaptiveEngine build()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |