com.bea.ales.management
Class InstanceStatus

java.lang.Object
  |
  +--com.bea.ales.management.InstanceStatus

public class InstanceStatus
extends java.lang.Object

This class represents the latest distribution status of the instance of an engine. The engine can be SSM or SCM. The instance of this class is created by PolicyDistributor.


Method Summary
 boolean equals(java.lang.Object object)
          Override the method of Object to examine if two InstanceStatus equal each other.
 java.lang.String getAddress()
          Get the address of the engine instance.
 java.lang.String getConfigurationName()
          Get the configuration name of the engine instance.
 java.lang.String getDistributionID()
          Get the latest distribution ID of the current engine instance.
 java.lang.String getInstanceName()
          Get the instance name of the engine instance.
 boolean isSynchronized()
          Check if the engine distribution status is synchronized.
 java.lang.String toString()
          Override the method of Object to convert the InstanceStatus to a String value.
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

isSynchronized

public boolean isSynchronized()
Check if the engine distribution status is synchronized.

Returns:
true if the engine distribution status is synchronized, or false if not synchronized.

getConfigurationName

public java.lang.String getConfigurationName()
Get the configuration name of the engine instance.

Returns:
the configuration name of the engine instance.

getInstanceName

public java.lang.String getInstanceName()
Get the instance name of the engine instance.

Returns:
the instance name of the engine instance.

getDistributionID

public java.lang.String getDistributionID()
Get the latest distribution ID of the current engine instance.

Returns:
the latest distribution ID of the current engine instance.

getAddress

public java.lang.String getAddress()
Get the address of the engine instance.

Returns:
the address of the engine instance.

equals

public boolean equals(java.lang.Object object)
Override the method of Object to examine if two InstanceStatus equal each other.

Returns:
true if two InstanceStatus objects have the same addresses, or false if they do not have same address.
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Override the method of Object to convert the InstanceStatus to a String value.

Returns:
the string representation of this object.
Overrides:
toString in class java.lang.Object


Copyright © 2004-2008, Oracle and/or its affiliates. All rights reserved.