import { ScriptingDefinitionData } from 'js-yaml-loader!@/*' ; import { ScriptingLanguage } from '@/domain/ScriptingLanguage' ; export class ScriptingDefinitionDataStub implements ScriptingDefinitionData { public language = ScriptingLanguage [ ScriptingLanguage . batchfile ] ; public fileExtension = 'bat' ; public startCode = 'startCode' ; public endCode = 'endCode' ; public withLanguage ( language ) { this . language = language ; return this ; } public withStartCode ( startCode ) { this . startCode = startCode ; return this ; } public withEndCode ( endCode ) { this . endCode = endCode ; return this ; } public withExtension ( extension ) { this . fileExtension = extension ; return this ; } }