author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Thu, 31 May 2018 10:52:50 +0100 | |
branch | jv |
changeset 4330 | 998eb03f0736 |
parent 3219 | 92e64a42ab4e |
child 4384 | e28fcaaf93c7 |
permissions | -rw-r--r-- |
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 |
||
3158
f8c56a311307
Merged 87750af738dc and 72ca7e81fbbf (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
diff
changeset
|
55 |
|
2874 | 56 |
!InfoChange class methodsFor:'instance creation'! |
57 |
||
58 |
type: type data: data timestamp: timestamp |
|
59 |
||
60 |
^self new |
|
61 |
type: type; |
|
62 |
data: data; |
|
63 |
timeStamp: timestamp |
|
64 |
||
65 |
"Created: / 18-05-2012 / 16:59:43 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
66 |
! ! |
|
67 |
||
3158
f8c56a311307
Merged 87750af738dc and 72ca7e81fbbf (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
diff
changeset
|
68 |
|
2874 | 69 |
!InfoChange methodsFor:'accessing'! |
70 |
||
71 |
data |
|
72 |
^ data |
|
73 |
! |
|
74 |
||
75 |
data:something |
|
76 |
data := something. |
|
77 |
! ! |
|
78 |
||
3158
f8c56a311307
Merged 87750af738dc and 72ca7e81fbbf (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
diff
changeset
|
79 |
|
2874 | 80 |
!InfoChange methodsFor:'applying'! |
81 |
||
82 |
apply |
|
83 |
"Intentionally left blank" |
|
84 |
||
85 |
"Created: / 18-05-2012 / 17:00:39 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
86 |
! ! |
|
87 |
||
3158
f8c56a311307
Merged 87750af738dc and 72ca7e81fbbf (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
diff
changeset
|
88 |
|
2874 | 89 |
!InfoChange methodsFor:'printing & storing'! |
90 |
||
91 |
printOn:aStream |
|
92 |
||
3180 | 93 |
type = 'snapshot' ifTrue:[ |
94 |
aStream nextPutAll:'---- snapshot '; space; nextPutAll: data. |
|
95 |
timeOfChangeIfKnown notNil ifTrue:[ timeOfChangeIfKnown printOn: aStream ]. |
|
96 |
aStream nextPutAll:' ---- '. |
|
2874 | 97 |
^self |
98 |
]. |
|
3180 | 99 |
type = 'start' ifTrue:[ |
2874 | 100 |
aStream nextPutAll:'System start'. |
101 |
^self |
|
102 |
]. |
|
3180 | 103 |
type = 'rake' ifTrue:[ |
2874 | 104 |
aStream nextPutAll:'rake'; space; nextPutAll: data. |
105 |
^self |
|
106 |
]. |
|
107 |
||
3180 | 108 |
"/ default |
109 |
aStream nextPutAll:'---- '; nextPutAll:type; space; nextPutAll: data. |
|
110 |
||
2874 | 111 |
"Created: / 18-05-2012 / 17:02:08 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
112 |
! ! |
|
113 |
||
3158
f8c56a311307
Merged 87750af738dc and 72ca7e81fbbf (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
diff
changeset
|
114 |
|
2874 | 115 |
!InfoChange class methodsFor:'documentation'! |
116 |
||
3180 | 117 |
version |
118 |
^ '$Header: /cvs/stx/stx/libbasic3/InfoChange.st,v 1.2 2013-04-02 19:20:25 cg Exp $' |
|
119 |
! |
|
120 |
||
121 |
version_CVS |
|
122 |
^ '$Header: /cvs/stx/stx/libbasic3/InfoChange.st,v 1.2 2013-04-02 19:20:25 cg Exp $' |
|
123 |
! |
|
124 |
||
3121
19723298dd2c
Bugfix: reading of Java class extensions methods.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3069
diff
changeset
|
125 |
version_HG |
19723298dd2c
Bugfix: reading of Java class extensions methods.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3069
diff
changeset
|
126 |
|
19723298dd2c
Bugfix: reading of Java class extensions methods.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3069
diff
changeset
|
127 |
^ '$Changeset: <not expanded> $' |
19723298dd2c
Bugfix: reading of Java class extensions methods.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3069
diff
changeset
|
128 |
! |
19723298dd2c
Bugfix: reading of Java class extensions methods.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3069
diff
changeset
|
129 |
|
2874 | 130 |
version_SVN |
131 |
^ '§Id:: InfoChange.st 1942 2012-07-27 14:53:23Z vranyj1 §' |
|
132 |
! ! |
|
3180 | 133 |