org.argouml.persistence
Class LastLoadInfo
java.lang.Object
org.argouml.persistence.LastLoadInfo
- public class LastLoadInfo
- extends Object
The results of the last project load.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lastLoadStatus
private boolean lastLoadStatus
lastLoadMessage
private String lastLoadMessage
INSTANCE
private static final LastLoadInfo INSTANCE
LastLoadInfo
private LastLoadInfo()
getInstance
public static LastLoadInfo getInstance()
- Get the singletone instance.
- Returns:
- the singletone instance.
getLastLoadMessage
public String getLastLoadMessage()
- Get the last message which caused loading to fail. Used for junit tests.
- Returns:
- the last message which caused loading to fail
setLastLoadMessage
public void setLastLoadMessage(String msg)
- Set the last load message. Used for junit tests.
- Parameters:
msg
- the last load message
getLastLoadStatus
public boolean getLastLoadStatus()
- Returns:
- the status of the last load attempt. Used for junit tests.
setLastLoadStatus
public void setLastLoadStatus(boolean status)
- Set the status of the last load attempt. Used for junit tests.
- Parameters:
status
- the status of the last load attempt