2874
|
1 |
"
|
|
2 |
COPYRIGHT (c) 2006 by eXept Software AG
|
|
3 |
All Rights Reserved
|
|
4 |
|
|
5 |
This software is furnished under a license and may be used
|
|
6 |
only in accordance with the terms of that license and with the
|
|
7 |
inclusion of the above copyright notice. This software may not
|
|
8 |
be provided or otherwise made available to, or used by, any
|
|
9 |
other person. No title to or ownership of the software is
|
|
10 |
hereby transferred.
|
|
11 |
"
|
|
12 |
"{ Package: 'stx:libbasic3' }"
|
|
13 |
|
|
14 |
OtherChange subclass:#InfoChange
|
|
15 |
instanceVariableNames:'data'
|
|
16 |
classVariableNames:''
|
|
17 |
poolDictionaries:''
|
|
18 |
category:'System-Changes'
|
|
19 |
!
|
|
20 |
|
|
21 |
!InfoChange class methodsFor:'documentation'!
|
|
22 |
|
|
23 |
copyright
|
|
24 |
"
|
|
25 |
COPYRIGHT (c) 2006 by eXept Software AG
|
|
26 |
All Rights Reserved
|
|
27 |
|
|
28 |
This software is furnished under a license and may be used
|
|
29 |
only in accordance with the terms of that license and with the
|
|
30 |
inclusion of the above copyright notice. This software may not
|
|
31 |
be provided or otherwise made available to, or used by, any
|
|
32 |
other person. No title to or ownership of the software is
|
|
33 |
hereby transferred.
|
|
34 |
"
|
|
35 |
!
|
|
36 |
|
|
37 |
documentation
|
|
38 |
"
|
|
39 |
InfoChanges represent individual 'info records' written
|
|
40 |
in system changefile, such as 'snapshot was written'
|
|
41 |
'class/package was checked in' etc.
|
|
42 |
|
|
43 |
[author:]
|
|
44 |
Jan Vrany <jan.vrany@fit.cvut.cz>
|
|
45 |
|
|
46 |
[instance variables:]
|
|
47 |
|
|
48 |
[class variables:]
|
|
49 |
|
|
50 |
[see also:]
|
|
51 |
|
|
52 |
"
|
|
53 |
! !
|
|
54 |
|
|
55 |
!InfoChange class methodsFor:'instance creation'!
|
|
56 |
|
|
57 |
type: type data: data timestamp: timestamp
|
|
58 |
|
|
59 |
^self new
|
|
60 |
type: type;
|
|
61 |
data: data;
|
|
62 |
timeStamp: timestamp
|
|
63 |
|
|
64 |
"Created: / 18-05-2012 / 16:59:43 / Jan Vrany <jan.vrany@fit.cvut.cz>"
|
|
65 |
! !
|
|
66 |
|
|
67 |
!InfoChange methodsFor:'accessing'!
|
|
68 |
|
|
69 |
data
|
|
70 |
^ data
|
|
71 |
!
|
|
72 |
|
|
73 |
data:something
|
|
74 |
data := something.
|
|
75 |
! !
|
|
76 |
|
|
77 |
!InfoChange methodsFor:'applying'!
|
|
78 |
|
|
79 |
apply
|
|
80 |
"Intentionally left blank"
|
|
81 |
|
|
82 |
"Created: / 18-05-2012 / 17:00:39 / Jan Vrany <jan.vrany@fit.cvut.cz>"
|
|
83 |
! !
|
|
84 |
|
|
85 |
!InfoChange methodsFor:'printing & storing'!
|
|
86 |
|
|
87 |
printOn:aStream
|
|
88 |
|
|
89 |
type == #snapshot ifTrue:[
|
|
90 |
aStream nextPutAll:'Snapshot'; space; nextPutAll: data.
|
|
91 |
^self
|
|
92 |
].
|
|
93 |
type == #start ifTrue:[
|
|
94 |
aStream nextPutAll:'System start'.
|
|
95 |
^self
|
|
96 |
].
|
|
97 |
type == #rake ifTrue:[
|
|
98 |
aStream nextPutAll:'rake'; space; nextPutAll: data.
|
|
99 |
^self
|
|
100 |
].
|
|
101 |
|
|
102 |
"Created: / 18-05-2012 / 17:02:08 / Jan Vrany <jan.vrany@fit.cvut.cz>"
|
|
103 |
! !
|
|
104 |
|
|
105 |
!InfoChange class methodsFor:'documentation'!
|
|
106 |
|
|
107 |
version_SVN
|
|
108 |
^ '§Id:: InfoChange.st 1942 2012-07-27 14:53:23Z vranyj1 §'
|
|
109 |
! !
|