Package org.apache.catalina.ha.deploy
Class WarWatcher.WarInfo
- java.lang.Object
- 
- org.apache.catalina.ha.deploy.WarWatcher.WarInfo
 
- 
- Enclosing class:
- WarWatcher
 
 protected static class WarWatcher.WarInfo extends java.lang.ObjectFile information on existing WAR files
- 
- 
Field SummaryFields Modifier and Type Field Description protected longlastCheckedprotected longlastStateprotected java.io.Filewar
 - 
Constructor SummaryConstructors Constructor Description WarInfo(java.io.File war)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intcheck()Returns 1 if the file has been added/modified, 0 if the file is unchanged and -1 if the file has been removedbooleanequals(java.lang.Object other)booleanexists()java.io.FilegetWar()inthashCode()booleanmodified()protected voidsetLastState(int lastState)
 
- 
- 
- 
Method Detail- 
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
 
 - 
getWarpublic java.io.File getWar() 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object other) - Overrides:
- equalsin class- java.lang.Object
 
 - 
setLastStateprotected void setLastState(int lastState) 
 
- 
 
-