maestro/app/classes/state/State.js
2020-04-15 09:11:10 -05:00

33 lines
645 B
JavaScript

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()
}
}
module.exports = exports = State