Package jmri.util.docbook
Class RevHistory
java.lang.Object
jmri.util.docbook.RevHistory
Memo class to remember a revision history.
These can be nested: A revision can come with a history.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRevision(int revnumber, String date, String authorinitials, String revremark) Used to add a revision form complete information created elsewherevoidaddRevision(String revremark) Add a revision, credited to the current uservoidaddRevision(String authorinitials, String revremark) Usual form.voidgetList()inttoString()
-
Field Details
-
list
-
-
Constructor Details
-
RevHistory
public RevHistory()
-
-
Method Details
-
addRevision
Used to add a revision form complete information created elsewhere- Parameters:
revnumber- the revision numberdate- the revision dateauthorinitials- the author's initialsrevremark- the revision
-
addRevision
-
addRevision
Usual form. Dated now, with the next number.- Parameters:
authorinitials- the author's initialsrevremark- the revision
-
maxNumber
-
addRevision
Add a revision, credited to the current user- Parameters:
revremark- the revision
-
toString
-
toString
-
getList
-