org.alfresco.service.cmr.avm.deploy
Class DeploymentEvent

java.lang.Object
  extended by org.alfresco.service.cmr.avm.deploy.DeploymentEvent
All Implemented Interfaces:
java.io.Serializable

public class DeploymentEvent
extends java.lang.Object
implements java.io.Serializable

Interface for Deployment Events.

See Also:
Serialized Form

Nested Class Summary
static class DeploymentEvent.Type
          The type of the event.
 
Constructor Summary
DeploymentEvent(DeploymentEvent.Type type, org.alfresco.util.Pair source, java.lang.String destination)
           
DeploymentEvent(DeploymentEvent.Type type, org.alfresco.util.Pair source, java.lang.String destination, java.lang.String message)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getDestination()
          Get the destination path.
 java.lang.String getMessage()
          Get the message.
 org.alfresco.util.Pair getSource()
          Get the source node version and path.
 DeploymentEvent.Type getType()
          Get the type of the event.
 int hashCode()
           
 java.lang.String toString()
          Get a String representation.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeploymentEvent

public DeploymentEvent(DeploymentEvent.Type type,
                       org.alfresco.util.Pair source,
                       java.lang.String destination)

DeploymentEvent

public DeploymentEvent(DeploymentEvent.Type type,
                       org.alfresco.util.Pair source,
                       java.lang.String destination,
                       java.lang.String message)
Method Detail

getType

public DeploymentEvent.Type getType()
Get the type of the event.

Returns:
The type.

getSource

public org.alfresco.util.Pair getSource()
Get the source node version and path.

Returns:

getDestination

public java.lang.String getDestination()
Get the destination path.

Returns:

getMessage

public java.lang.String getMessage()
Get the message.

Returns:

toString

public java.lang.String toString()
Get a String representation.

Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.