Class/Object

edu.umass.cs.automan.core.logging

Memo

Related Docs: object Memo | package logging

Permalink

class Memo extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Memo
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Memo(log_config: LogConfig.Value, database_name: String)

    Permalink

Type Members

  1. type DBCheckboxAnswer = (Int, Set[Symbol], String)

    Permalink
  2. type DBFreeTextAnswer = (Int, String, String)

    Permalink
  3. type DBQuestion = (UUID, String, QuestionType, String, String)

    Permalink
  4. type DBRadioButtonAnswer = (Int, Symbol, String)

    Permalink
  5. type DBSession = SessionDef

    Permalink
  6. type DBTask = (UUID, UUID, BigDecimal, Date, Int, Int)

    Permalink
  7. type DBTaskHistory = (UUID, Date, SchedulerState)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val _jdbc_conn_string: String

    Permalink
    Attributes
    protected[edu.umass.cs.automan]
  5. var _plugins: List[Plugin]

    Permalink
    Attributes
    protected
  6. def allTasksQuery(): Query[(tables.DBQuestion, (tables.DBTask, tables.DBTaskHistory)), (tables.DBQuestion.TableElementType, (tables.DBTask.TableElementType, (Int, UUID, Date, SchedulerState))), Seq]

    Permalink
    Attributes
    protected[edu.umass.cs.automan]
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def database_exists(): Boolean

    Permalink
    Attributes
    protected
  10. val dbCheckboxAnswer: TableQuery[tables.DBCheckboxAnswer]

    Permalink
    Attributes
    protected[edu.umass.cs.automan]
  11. val dbFreeTextAnswer: TableQuery[tables.DBFreeTextAnswer]

    Permalink
    Attributes
    protected[edu.umass.cs.automan]
  12. val dbQuestion: TableQuery[tables.DBQuestion]

    Permalink
    Attributes
    protected[edu.umass.cs.automan]
  13. val dbRadioButtonAnswer: TableQuery[tables.DBRadioButtonAnswer]

    Permalink
    Attributes
    protected[edu.umass.cs.automan]
  14. val dbTask: TableQuery[tables.DBTask]

    Permalink
    Attributes
    protected[edu.umass.cs.automan]
  15. val dbTaskHistory: TableQuery[tables.DBTaskHistory]

    Permalink
    Attributes
    protected[edu.umass.cs.automan]
  16. var db_opt: Option[DatabaseDef]

    Permalink
  17. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  19. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def getAllTasksMap(implicit session: DBSession): Map[UUID, scheduler.SchedulerState.Value]

    Permalink
    Attributes
    protected[edu.umass.cs.automan]
  21. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  22. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  23. def init(): Unit

    Permalink

    Initialization routines.

    Initialization routines.

    Attributes
    protected[edu.umass.cs.automan]
  24. def init_database_if_required(ddls: List[scala.slick.driver.H2Driver.SchemaDescription]): Unit

    Permalink

    Run table definitions if this is the first time the database is run.

    Run table definitions if this is the first time the database is run. Overring subclasses should provide their DDLs as a list to this method instead of overriding it.

    ddls

    Slick Table definitions.

    Attributes
    protected
  25. def insertAnswerTable(ts: List[Task], histories: Seq[(UUID, Int)])(implicit session: DBSession): Option[Int]

    Permalink
    Attributes
    protected[edu.umass.cs.automan]
  26. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  27. implicit val javaUtilDateMapper: scala.slick.driver.H2Driver.BaseColumnType[Date]

    Permalink
  28. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  29. def needsUpdate[A](ts: List[Task], tsstates: Map[UUID, scheduler.SchedulerState.Value]): List[InsertUpdateOrSkip[Task]]

    Permalink
    Attributes
    protected[edu.umass.cs.automan]
  30. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  32. val path: String

    Permalink
  33. def questionInDB(memo_hash: String)(implicit db: DBSession): Boolean

    Permalink
    Attributes
    protected[edu.umass.cs.automan]
  34. implicit val questionTypeMapper: scala.slick.driver.H2Driver.BaseColumnType[QuestionType]

    Permalink
  35. def register_plugins(plugins: List[Plugin]): Unit

    Permalink

    Register plugins so that they can be notified on DB state changes.

    Register plugins so that they can be notified on DB state changes.

    plugins

    A list of initialized plugins.

    Attributes
    protected[edu.umass.cs.automan]
  36. def restore(q: Question): List[Task]

    Permalink

    Restore all tasks from the database given a question's memo_hash.

    Restore all tasks from the database given a question's memo_hash.

    q

    An AutoMan question.

    returns

    A list of tasks.

  37. def save(q: Question, inserts: List[Task], updates: List[Task]): Unit

    Permalink

    Updates the database given a complete list of tasks.

    Updates the database given a complete list of tasks.

    inserts

    A list of tasks to insert.

    updates

    A list of tasks to update.

  38. def snapshot(): List[TaskSnapshot[_]]

    Permalink
  39. def snapshotUpdates(): List[TaskSnapshot[_]]

    Permalink
  40. implicit val symbolSetStringMapper: scala.slick.driver.H2Driver.BaseColumnType[Set[Symbol]]

    Permalink
  41. implicit val symbolStringMapper: scala.slick.driver.H2Driver.BaseColumnType[Symbol]

    Permalink
  42. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  43. def task2TaskAnswerTuple(ts: List[Task], histories: Seq[(UUID, Int)]): List[(Int, A, String)]

    Permalink
    Attributes
    protected[edu.umass.cs.automan]
  44. def task2TaskHistoryTuple(ts: List[Task]): List[(Int, UUID, Date, SchedulerState)]

    Permalink
    Attributes
    protected[edu.umass.cs.automan]
  45. def task2TaskTuple(ts: List[Task]): List[(UUID, UUID, Int, BigDecimal, Date, Int, Int)]

    Permalink
    Attributes
    protected[edu.umass.cs.automan]
  46. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  47. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. def wipeDatabase(): Unit

    Permalink

    This call deletes all records stored in all of the Memo database's tables.

Inherited from AnyRef

Inherited from Any

Ungrouped