org.rhq.core.pc.event
Class EventUtility

java.lang.Object
  extended by org.rhq.core.pc.event.EventUtility

public abstract class EventUtility
extends Object

Author:
Ian Springer

Method Summary
static org.rhq.core.domain.event.EventDefinition getEventDefinition(String name, org.rhq.core.domain.resource.ResourceType resourceType)
          Returns the EventDefinition with the specified name for the given Resource type, or null if no EventDefintion by that name exists.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getEventDefinition

@Nullable
public static org.rhq.core.domain.event.EventDefinition getEventDefinition(String name,
                                                                                    org.rhq.core.domain.resource.ResourceType resourceType)
Returns the EventDefinition with the specified name for the given Resource type, or null if no EventDefintion by that name exists.

Parameters:
name - the name of the EventDefinition
resourceType - a resource type
Returns:
the EventDefinition with the specified name for the given Resource type, or null if no EventDefintion by that name exists


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.