diff options
author | kchong | 2005-06-23 17:16:38 +0000 |
---|---|---|
committer | kchong | 2005-06-23 17:16:38 +0000 |
commit | 20627db2ad1747b426ea4f3983ee2ca4c5262811 (patch) | |
tree | 341f8c4811d673575e1eb954910d92c6d34cd223 /bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/provisional/env/core/common/Status.java | |
parent | b1f4c1506ffa6e4c05c572f3513a858f8a020e03 (diff) | |
download | webtools.webservices-20050624_0025.tar.gz webtools.webservices-20050624_0025.tar.xz webtools.webservices-20050624_0025.zip |
This commit was manufactured by cvs2svn to create tag 'v20050624_0025'.v20050624_0025
Diffstat (limited to 'bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/provisional/env/core/common/Status.java')
-rw-r--r-- | bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/provisional/env/core/common/Status.java | 78 |
1 files changed, 0 insertions, 78 deletions
diff --git a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/provisional/env/core/common/Status.java b/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/provisional/env/core/common/Status.java deleted file mode 100644 index 8b89d141f..000000000 --- a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/internal/provisional/env/core/common/Status.java +++ /dev/null @@ -1,78 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.wst.command.internal.provisional.env.core.common; - -/** - * Carries status information. - */ -public interface Status -{ - /** - * Status: Everything is fine, and there are no messages or details. - */ - public static final int OK = 0; - - /** - * Status: Everything is fine, but there is information to report. - */ - public static final int INFO = 1; - - /** - * Status: Things are working, but possibly not as expected. - */ - public static final int WARNING = 2; - - /** - * Status: Blammo. - */ - public static final int ERROR = 4; - - /** - * Returns a non-translated application specific identifier. - * May return null. - */ - public String getId (); - - /** - * Returns a translated (locale-sensitive) message. - * May return null. - */ - public String getMessage (); - - /** - * Returns the severity. - */ - public int getSeverity (); - - /** - * Returns an exception (throwable) behind the status, if any. - * May return null. - */ - public Throwable getThrowable (); - - /** - * Returns true if this status object has child status objects. - */ - public boolean hasChildren (); - - /** - * Returns the immediate child Status objects of this object. - * Never returns null, but may return a zero-length array. - */ - public Status[] getChildren (); - - /** - * Returns true if this status' severity matches the severity - * mask passed in. Strictly speaking: - * this.matches(that) == (this.getSeverity() | that != 0) - */ - public boolean matches ( int mask ); -} |