import TriggerCode from "../TriggerCode";
import BadDataException from "../../../../Types/Exception/BadDataException";
import ComponentID from "../../../../Types/Workflow/ComponentID";
import ManualComponents from "../../../../Types/Workflow/Components/Manual";
export default class ManualTrigger extends TriggerCode {
    constructor() {
        super();
        const Component = ManualComponents.find((i) => {
            return i.id === ComponentID.Manual;
        });
        if (!Component) {
            throw new BadDataException("Component not found.");
        }
        this.setMetadata(Component);
    }
}
//# sourceMappingURL=Manual.js.map