-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDevDoc.txt
103 lines (81 loc) · 3.25 KB
/
DevDoc.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
Program that can help import/export/manage various reports. For example time reports for work or milage journals.
File ext:
.repml (Report Command Script)
Console application usage:
Reportz.exe Run -script 'TimeReport.repml' -scriptname ProjectPlace
Interfaces:
IExecutable.cs
ExeResult Execute(ExeArgs args)
IExecutor.cs
ExeResult Execute(ExeArgs args)
IProvider.cs : IExecutable
IFormatter.cs : IExecutable
IVariable.cs
string Key
Object Value
Type Type
"Report Command script / markup language" syntax:
<script name="ProjectPlace"> (IScript : IExecutable)
<execute> (IExecutorEnvironment)
<variable key="TimeReportExtractor"> (Variable : IVariable)
<instantiate> (IInstantiatableVariable)
<type>Reportz.Plugin.ProjectPlace.TimeReportExtractor</type> (IProvider)
<ctor>
<arguments> (Add/Remove Collection)
</arguments>
</ctor>
<properties> (Add/Remove Collection)
<add key="username" type="string">{username}</add>
<add key="password" type="string">{password}</add>
<add key="url" type="string"></add>
</properties>
</instantiate>
</variable>
<variable key="JsonToCsvFormatter"> (Variable : IVariable)
<instantiate> (IInstantiatableVariable)
<type>Reportz.Plugin.ProjectPlace.TimeReportJsonToCsvFormatter</type> (IFormatter)
<ctor>
<arguments> (Add/Remove Collection)
</arguments>
</ctor>
<properties> (Add/Remove Collection)
</properties>
</instantiate>
</variable>
<variable key="startDate" type="DateTime">2017-01-01</variable> (IExecutor)
<run-executable key="TimeReportExtractor"> (IExecutor)
<arguments> (Add/Remove Collection)
<add key="startDate" var="$startDate" /> (AddVariable : IVariable)
<add key="endDate" type="DateTime">2017-01-15</add> (AddVariable : IVariable)
</arguments>
<events> (Collection<IEvent>)
<event key="error"> (IEvent, IExecutorEnvironment)
<alert>Something went wrong!! Error message: $$Exception.Message</alert>
</event>
<event key="completed"> (IEvent, IExecutorEnvironment)
<variable key="json">$$Result</variable> (Variable : IVariable)
</event>
</events>
</run-executable>
<run-executable key="JsonToCsvFormatter"> (IExecutor)
<arguments> (Add/Remove Collection)
<add key="json" var="$json" /> (AddVariable : IVariable)
</arguments>
<events> (Collection<IEvent>)
<event key="error"> (IEvent, IExecutorEnvironment)
<alert>Something went wrong!! Error message: $$Exception.Message</alert>
</event>
<event key="completed"> (IEvent, IExecutorEnvironment)
<variable key="csv">$$Result</variable> (Variable : IVariable)
</event>
</events>
</run-executable>
</execute>
<events> (Collection<IEvent>)
<event key="error"> (IEvent, IExecutorEnvironment)
<alert>Something went wrong when running script!! Error message: $$Exception.Message</alert>
</event>
<event key="completed"> (IEvent, IExecutorEnvironment)
</event>
</events>
</script>