Liferay 7.0-ce-b4

com.liferay.portal.kernel.cluster
Class ClusterNodeResponse

java.lang.Object
  extended by com.liferay.portal.kernel.cluster.ClusterNodeResponse
All Implemented Interfaces:
Serializable

public class ClusterNodeResponse
extends Object
implements Serializable

See Also:
Serialized Form

Method Summary
static ClusterNodeResponse createExceptionClusterNodeResponse(ClusterNode clusterNode, String uuid, Exception exception)
           
static ClusterNodeResponse createResultClusterNodeResponse(ClusterNode clusterNode, String uuid, Serializable result)
           
 ClusterNode getClusterNode()
           
 Exception getException()
           
 Serializable getResult()
           
 String getUuid()
           
 boolean hasException()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

createExceptionClusterNodeResponse

public static ClusterNodeResponse createExceptionClusterNodeResponse(ClusterNode clusterNode,
                                                                     String uuid,
                                                                     Exception exception)

createResultClusterNodeResponse

public static ClusterNodeResponse createResultClusterNodeResponse(ClusterNode clusterNode,
                                                                  String uuid,
                                                                  Serializable result)

getClusterNode

public ClusterNode getClusterNode()

getException

public Exception getException()

getResult

public Serializable getResult()

getUuid

public String getUuid()

hasException

public boolean hasException()

toString

public String toString()
Overrides:
toString in class Object

Liferay 7.0-ce-b4