com.tildemh.debbug
Class CachePolicy
java.lang.Object|
+--com.tildemh.debbug.CachePolicy
publicclass CachePolicy
extends java.lang.Object
Policy to determine when to check for bug reports online.
This is released under the terms of the GNU Lesser General Public License
(LGPL). See the COPYING file for details.
- © Mark Howard <mh@debian.org> 2002
ALWAYS_CHECK
publicstatic CachePolicyALWAYS_CHECK
Always check online.
NEVER_CHECK
publicstatic CachePolicyNEVER_CHECK
Connections will never be made to the internet. If a report is not found
in cache, a not found exception will be raised. This may be useful for
implementing an offline mode.
equals
publicbooleanequals(CachePolicy test)
- test
- true if two are the same
getValue
publicintgetValue()
- internal representation