Mercurial > jhg
comparison src/org/tmatesoft/hg/util/Outcome.java @ 456:909306e412e2
Refactor LogFacility and SessionContext, better API for both
| author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
|---|---|
| date | Mon, 18 Jun 2012 16:54:00 +0200 |
| parents | 36fd1fd06492 |
| children |
comparison
equal
deleted
inserted
replaced
| 454:36fd1fd06492 | 456:909306e412e2 |
|---|---|
| 20 * Success/failure descriptor. When exception is too much. | 20 * Success/failure descriptor. When exception is too much. |
| 21 * | 21 * |
| 22 * @author Artem Tikhomirov | 22 * @author Artem Tikhomirov |
| 23 * @author TMate Software Ltd. | 23 * @author TMate Software Ltd. |
| 24 */ | 24 */ |
| 25 public class Outcome { | 25 public final class Outcome { |
| 26 // XXX perhaps private enum and factory method createError() and createOk()? | 26 // XXX perhaps private enum and factory method createError() and createOk()? |
| 27 public enum Kind { | 27 public enum Kind { |
| 28 Success, Failure; | 28 Success, Failure; |
| 29 } | 29 } |
| 30 | 30 |
