Tabnine Logo
ExceptionEvent.equals
Code IndexAdd Tabnine to your IDE (free)

How to use
equals
method
in
rocks.inspectit.shared.all.communication.ExceptionEvent

Best Java code snippets using rocks.inspectit.shared.all.communication.ExceptionEvent.equals (Showing top 4 results out of 315)

origin: inspectIT/inspectIT

/**
 * Returns the image descriptor for the given modifiers.
 *
 * @param data
 *            The {@link ExceptionSensorData} data object where to check for the exception event
 *            type.
 * @return The image descriptor.
 */
public static ImageDescriptor getImageDescriptor(ExceptionSensorData data) {
  if (null != data) {
    ExceptionEvent event = data.getExceptionEvent();
    if (ExceptionEvent.CREATED.equals(event)) {
      return OVERLAY_ERROR;
    } else if (ExceptionEvent.HANDLED.equals(event)) {
      return OVERLAY_PRIORITY;
    } else if (ExceptionEvent.PASSED.equals(event)) {
      return OVERLAY_UP;
    } else if (ExceptionEvent.RETHROWN.equals(event)) {
      return OVERLAY_ERROR;
    } else if (ExceptionEvent.UNREGISTERED_PASSED.equals(event)) {
      return OVERLAY_UP;
    }
  }
  return ImageDescriptor.getMissingImageDescriptor();
}
origin: inspectIT/inspectIT

    return false;
} else if (!exceptionEvent.equals(other.exceptionEvent)) {
  return false;
origin: inspectIT/inspectIT

@Override
public boolean matches(Object object) {
  if (!ExceptionSensorData.class.isInstance(object)) {
    return false;
  }
  ExceptionSensorData otherExceptionSensorData = (ExceptionSensorData) object;
  if ((null != exceptionSensorData.getCause()) && !exceptionSensorData.getCause().equals(otherExceptionSensorData.getCause())) {
    return false;
  }
  if ((null != exceptionSensorData.getErrorMessage()) && !exceptionSensorData.getErrorMessage().equals(otherExceptionSensorData.getErrorMessage())) {
    return false;
  }
  if (!exceptionSensorData.getExceptionEvent().equals(otherExceptionSensorData.getExceptionEvent())) {
    return false;
  }
  if ((null != exceptionSensorData.getThrowableType()) && !exceptionSensorData.getThrowableType().equals(otherExceptionSensorData.getThrowableType())) {
    return false;
  }
  if (exceptionSensorData.getThrowableIdentityHashCode() != otherExceptionSensorData.getThrowableIdentityHashCode()) {
    return false;
  }
  return true;
}
origin: inspectIT/inspectIT

if (!rawMode && (data instanceof AggregatedExceptionSensorData)) {
  return new StyledString(NumberFormatter.formatLong(((AggregatedExceptionSensorData) data).getCreated()));
} else if (ExceptionEvent.CREATED.equals(data.getExceptionEvent())) {
  return new StyledString("Yes");
} else {
if (!rawMode && (data instanceof AggregatedExceptionSensorData)) {
  return new StyledString(NumberFormatter.formatLong(((AggregatedExceptionSensorData) data).getPassed()));
} else if (ExceptionEvent.PASSED.equals(data.getExceptionEvent())) {
  return new StyledString("Yes");
} else {
if (!rawMode && (data instanceof AggregatedExceptionSensorData)) {
  return new StyledString(NumberFormatter.formatLong(((AggregatedExceptionSensorData) data).getHandled()));
} else if (ExceptionEvent.HANDLED.equals(data.getExceptionEvent())) {
  return new StyledString("Yes");
} else {
rocks.inspectit.shared.all.communicationExceptionEventequals

Popular methods of ExceptionEvent

  • getObjectSize
  • hashCode
  • name
  • toString
  • values

Popular in Java

  • Updating database using SQL prepared statement
  • onRequestPermissionsResult (Fragment)
  • getSharedPreferences (Context)
  • findViewById (Activity)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Top 25 Plugins for Webstorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now