org.sejda.model.task
Class NotifiableTaskMetadata

java.lang.Object
  extended by org.sejda.model.task.NotifiableTaskMetadata
All Implemented Interfaces:
Serializable

public class NotifiableTaskMetadata
extends Object
implements Serializable

An immutable set of metadata related to the task the event is notifying about.

Author:
Andrea Vacondio
See Also:
Serialized Form

Field Summary
static NotifiableTaskMetadata NULL
          Null object pattern
 
Constructor Summary
NotifiableTaskMetadata(Task<?> task)
           
 
Method Summary
 boolean equals(Object other)
           
 String getQualifiedName()
           
 UUID getTaskIdentifier()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NULL

public static final NotifiableTaskMetadata NULL
Null object pattern

Constructor Detail

NotifiableTaskMetadata

public NotifiableTaskMetadata(Task<?> task)
Method Detail

getTaskIdentifier

public UUID getTaskIdentifier()
Returns:
the identifier of the task the event is notifying about.

getQualifiedName

public String getQualifiedName()
Returns:
the qualified name of the task the event is notifying about.

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object other)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013 sejda. All Rights Reserved.