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