com.platform.ego.impl
Class ResourceStateChange

java.lang.Object
  extended by com.platform.ego.impl.ResourceStateChange

public class ResourceStateChange
extends java.lang.Object

ResourceStateChange notifies the user with information from EGO when a resource state changes. This class is used while calling onHostStateChange() to show EGO notifications.

Version:
1.2.3

Constructor Summary
ResourceStateChange()
           
 
Method Summary
 java.lang.String getAllocID()
          Get allocation ID that this state change corresponds to.
 java.lang.String getClientName()
          Get client name that this state change corresponds to.
 java.lang.String getConsumerName()
          Get consumer name that this allocation belongs to.
 ResourceState getNewState()
          Get new state of resource.
 java.lang.String getResourcename()
          Get name of resource.
 int getSlots()
          Get number of slots on this host allocated to this allocation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceStateChange

public ResourceStateChange()
Method Detail

getAllocID

public java.lang.String getAllocID()
Get allocation ID that this state change corresponds to.

Returns:
allocation ID.

getClientName

public java.lang.String getClientName()
Get client name that this state change corresponds to.

Returns:
client name.

getConsumerName

public java.lang.String getConsumerName()
Get consumer name that this allocation belongs to.

Returns:
Consumer name.

getNewState

public ResourceState getNewState()
Get new state of resource.

Returns:
new state of resource.

getResourcename

public java.lang.String getResourcename()
Get name of resource.

Returns:
name of resource.

getSlots

public int getSlots()
Get number of slots on this host allocated to this allocation.

Returns:
number of slots.


Copyright (C) 1992-2007 Platform Computing Corporation