Class ResourceUpdated

java.lang.Object
org.jgrapes.core.internal.EventBase<Void>
org.jgrapes.core.Event<Void>
org.jgrapes.webconsole.base.events.ResourceUpdated
All Implemented Interfaces:
Future<Void>, org.jgrapes.core.Associator, org.jgrapes.core.Eligible

public class ResourceUpdated extends org.jgrapes.core.Event<Void>
A notification within the server side that an item has been updated.

The item specification is usually the key used by the Associator.

This event should be fired by the component that provides the item and may be handled by components that use information provided by the item.

See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from interface java.util.concurrent.Future

    Future.State
  • Field Summary

    Fields inherited from class org.jgrapes.core.internal.EventBase

    completed, completionEvents, invokedFor
  • Constructor Summary

    Constructors
    Constructor
    Description
    ResourceUpdated(Object itemSpecification)
    Creates a new event.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the information that specifies the item.

    Methods inherited from class org.jgrapes.core.Event

    addCompletionEvent, associated, cancel, channels, channels, completionEvents, currentResults, defaultCriterion, forChannels, get, get, handled, handlingError, isCancelled, isDone, isEligibleFor, isStopped, processedBy, results, results, resumeHandling, setAssociated, setChannels, setRequiresResult, setResult, stop, suspendHandling, suspendHandling, tieTo, toString

    Methods inherited from class org.jgrapes.core.internal.EventBase

    disableTracking, enqueued, firstResultAssigned, isTracked, onCompletion

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.jgrapes.core.Associator

    associated, associated, associated, associatedGet

    Methods inherited from interface java.util.concurrent.Future

    exceptionNow, resultNow, state
  • Constructor Details

    • ResourceUpdated

      public ResourceUpdated(Object itemSpecification)
      Creates a new event.
      Parameters:
      itemSpecification - information about the item, usually the item’s class.
  • Method Details

    • itemSpecification

      Return the information that specifies the item.
      Returns:
      the item specification