This repository was archived by the owner on Jan 9, 2020. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616[ ![ downloads] ( http://img.shields.io/npm/dm/kronos-step.svg?style=flat-square )] ( https://npmjs.org/package/kronos-step )
1717[ ![ Commitizen friendly] ( https://img.shields.io/badge/commitizen-friendly-brightgreen.svg )] ( http://commitizen.github.io/cz-cli/ )
1818
19+ # kronos-step
1920
20- kronos-step
21- ===========
2221basic step implementation
2322
23+ # API
2424
25- install
26- =======
25+ <!-- Generated by documentation.js. Update this documentation by updating the source code. -->
26+
27+ ### Table of Contents
28+
29+ - [ Step] ( #step )
30+ - [ startupOrder] ( #startuporder )
31+ - [ endpointParentSeparator] ( #endpointparentseparator )
32+ - [ log] ( #log )
33+ - [ name] ( #name )
34+ - [ startupOrder] ( #startuporder-1 )
35+ - [ StepProviderMixin] ( #stepprovidermixin )
36+
37+ ## Step
38+
39+ ** Extends Service**
40+
41+ Steps are building blocks for flows
42+
43+ ### startupOrder
44+
45+ Order in which the step should be started.
46+ Higher numbers result in earlier startup
47+
48+ Returns ** [ number] ( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number ) ** delivered from the constructors startupOrder
49+
50+ ### endpointParentSeparator
51+
52+ Returns ** [ string] ( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String ) ** separator between step name and endpoint name
53+
54+ ### log
55+
56+ adds 'step-type' and 'step-name'
57+
58+ ** Parameters**
59+
60+ - ` level `
61+ - ` arg `
62+
63+ ### name
64+
65+ Returns ** [ string] ( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String ) ** 'kronos-step'
66+
67+ ### startupOrder
68+
69+ Order in which the step should be started.
70+ Higher numbers result in earlier startup
71+
72+ Returns ** [ number] ( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number ) ** 1.0
73+
74+ ## StepProviderMixin
75+
76+ Provide steps.
77+ Register and lookup step types
78+
79+ ** Parameters**
80+
81+ - ` superclass `
82+
83+ # install
2784
2885With [ npm] ( http://npmjs.org ) do:
2986
3087``` shell
3188npm install kronos-step
3289```
3390
34- license
35- =======
91+ # license
3692
3793BSD-2-Clause
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -4,7 +4,13 @@ import { StepProviderMixin } from './step-provider-mixin';
44
55export { StepProviderMixin } ;
66
7+ /**
8+ * Steps are building blocks for flows
9+ */
710export class Step extends Service {
11+ /**
12+ * @return {string } 'kronos-step'
13+ */
814 static get name ( ) {
915 return 'kronos-step' ;
1016 }
@@ -28,12 +34,15 @@ export class Step extends Service {
2834 }
2935
3036 /**
31- * @return {String } separator between step name and endpoint name
37+ * @return {string } separator between step name and endpoint name
3238 **/
3339 get endpointParentSeparator ( ) {
3440 return '/' ;
3541 }
3642
43+ /**
44+ * adds 'step-type' and 'step-name'
45+ **/
3746 log ( level , arg ) {
3847 this . endpoints . log . receive (
3948 makeLogEvent ( level , arg , {
You can’t perform that action at this time.
0 commit comments