protected static class WarWatcher.WarInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected long |
lastChecked |
protected long |
lastState |
protected java.io.File |
war |
Constructor and Description |
---|
WarWatcher.WarInfo(java.io.File war) |
Modifier and Type | Method and Description |
---|---|
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
|
boolean |
equals(java.lang.Object other) |
boolean |
exists() |
java.io.File |
getWar() |
int |
hashCode() |
boolean |
modified() |
protected void |
setLastState(int lastState) |
protected final java.io.File war
protected long lastChecked
protected long lastState
public boolean modified()
public boolean exists()
public int check()
public java.io.File getWar()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
protected void setLastState(int lastState)
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.