maestro/app/classes/state/State.js

33 lines
645 B
JavaScript
Raw Normal View History

2020-02-21 06:36:55 +00:00
const { Injectable } = require('flitter-di')
const ImplementationError = require('libflitter/errors/ImplementationError')
class State extends Injectable {
constructor(host, config) {
super()
this._host = host
this._config = config
}
async apply() {
throw new ImplementationError()
}
async check() {
throw new ImplementationError()
}
async reverse() {
throw new ImplementationError()
}
failure_message() {
throw new ImplementationError()
}
check_message() {
throw new ImplementationError()
}
2020-02-21 06:36:55 +00:00
}
module.exports = exports = State