Remote Systems
v6.4.1

com.ibm.etools.systems.core.ui.messages
Class SystemMessageStatus

java.lang.Object
  extended bycom.ibm.etools.systems.core.ui.messages.SystemMessageStatus
All Implemented Interfaces:
IStatus

public class SystemMessageStatus
extends Object
implements IStatus

A SystemMessageStatus object encapsulates a SystemMessage or a SystemMessageException as a Status object. Could be used when creating a CoreException from a SystemMessageException.


Field Summary
 
Fields inherited from interface org.eclipse.core.runtime.IStatus
CANCEL, ERROR, INFO, OK, WARNING
 
Constructor Summary
SystemMessageStatus(SystemMessage message)
           
SystemMessageStatus(SystemMessageException exception)
           
 
Method Summary
 IStatus[] getChildren()
           
 int getCode()
           
 Throwable getException()
           
 String getMessage()
           
 String getPlugin()
           
 int getSeverity()
           
 SystemMessage getSystemMessage()
           
 boolean isMultiStatus()
           
 boolean isOK()
           
 boolean matches(int severityMask)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemMessageStatus

public SystemMessageStatus(SystemMessage message)

SystemMessageStatus

public SystemMessageStatus(SystemMessageException exception)
Method Detail

isOK

public boolean isOK()
Specified by:
isOK in interface IStatus

getPlugin

public String getPlugin()
Specified by:
getPlugin in interface IStatus

getChildren

public IStatus[] getChildren()
Specified by:
getChildren in interface IStatus

getCode

public int getCode()
Specified by:
getCode in interface IStatus

getException

public Throwable getException()
Specified by:
getException in interface IStatus

getMessage

public String getMessage()
Specified by:
getMessage in interface IStatus

getSeverity

public int getSeverity()
Specified by:
getSeverity in interface IStatus

isMultiStatus

public boolean isMultiStatus()
Specified by:
isMultiStatus in interface IStatus

matches

public boolean matches(int severityMask)
Specified by:
matches in interface IStatus

getSystemMessage

public SystemMessage getSystemMessage()
Returns:
the SystemMessage encapsulated by this status.

Remote Systems
v6.4.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.