Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.core.databinding.validation
Class ValidationStatus


java.lang.Object
  extended by 

org.eclipse.core.runtime.Status
      extended by 
org.eclipse.core.databinding.validation.ValidationStatus
All Implemented Interfaces:
IStatus

public class ValidationStatus
extends Status

Convenience class for creating status objects.

Since:
3.3

Field Summary
 
Fields inherited from class org.eclipse.core.runtime. Status
CANCEL_STATUS, OK_STATUS
 
Fields inherited from interface org.eclipse.core.runtime. IStatus
CANCEL, ERROR, INFO, OK, WARNING
 
Method Summary
static  IStatus cancel ( String message)
          Creates a new validation cancel status with the given message.
 boolean equals ( Object obj)
          Equality is based upon instance equality rather than identity.
static  IStatus error ( String message)
          Creates a new validation error status with the given message.
static  IStatus error ( String message, Throwable exception)
          Creates a new validation error status with the given message and exception.
 int hashCode ()
           
static  IStatus info ( String message)
          Creates a new validation info status with the given message.
static  IStatus ok ()
          Returns an OK status.
static  IStatus warning ( String message)
          Creates a new validation warning status with the given message.
 
Methods inherited from class org.eclipse.core.runtime. Status
getChildren, getCode, getException, getMessage, getPlugin, getSeverity, isMultiStatus, isOK, matches, setCode, setException, setMessage, setPlugin, setSeverity, toString
 
Methods inherited from class java.lang. Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

error

public static 
IStatus error(
String message)
Creates a new validation error status with the given message.

Parameters:
message -
Returns:
a new error status with the given message

cancel

public static 
IStatus cancel(
String message)
Creates a new validation cancel status with the given message.

Parameters:
message -
Returns:
a new cancel status with the given message

error

public static 
IStatus error(
String message,
                            
Throwable exception)
Creates a new validation error status with the given message and exception.

Parameters:
message -
exception -
Returns:
a new error status with the given message and exception

warning

public static 
IStatus warning(
String message)
Creates a new validation warning status with the given message.

Parameters:
message -
Returns:
a new warning status with the given message

info

public static 
IStatus info(
String message)
Creates a new validation info status with the given message.

Parameters:
message -
Returns:
a new info status with the given message

ok

public static 
IStatus ok()
Returns an OK status.

Returns:
an ok status

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(
Object obj)
Equality is based upon instance equality rather than identity.

Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire