Package org.apache.catalina.ha.deploy
Class WarWatcher.WarInfo
java.lang.Object
org.apache.catalina.ha.deploy.WarWatcher.WarInfo
- Enclosing class:
- WarWatcher
File information on existing WAR files
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Field Details- 
war
- 
lastCheckedprotected long lastChecked
- 
lastStateprotected long lastState
 
- 
- 
Constructor Details- 
WarInfo
 
- 
- 
Method Details- 
modifiedpublic boolean modified()
- 
existspublic boolean exists()
- 
checkpublic int check()Returns 1 if the file has been added/modified, 0 if the file is unchanged and -1 if the file has been removed- Returns:
- int 1=file added; 0=unchanged; -1=file removed
 
- 
getWar
- 
hashCodepublic int hashCode()
- 
equals
- 
setLastStateprotected void setLastState(int lastState) 
 
-