com.cisco.oss.foundation.monitoring.component.data
Enum ComponentInfo

java.lang.Object
  extended by java.lang.Enum<ComponentInfo>
      extended by com.cisco.oss.foundation.monitoring.component.data.ComponentInfo
All Implemented Interfaces:
IComponentInfoMXBean, Serializable, Comparable<ComponentInfo>

public enum ComponentInfo
extends Enum<ComponentInfo>
implements IComponentInfoMXBean


Enum Constant Summary
INSTANCE
           
 
Method Summary
 String getFullName()
          Full name of the component.
 String getInstance()
          Instance Name format must be
 String getName()
          Name of the component.Name can be Acronym.
 RedundancyMode getRedundancyMode()
           
 String getVersion()
          Component version
 void setFullName(String fullName)
           
 void setInstance(String instance)
           
 void setName(String name)
           
 void setRedundancyMode(RedundancyMode redundancyMode)
           
 void setVersion(String version)
           
static ComponentInfo valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ComponentInfo[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INSTANCE

public static final ComponentInfo INSTANCE
Method Detail

values

public static ComponentInfo[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ComponentInfo c : ComponentInfo.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ComponentInfo valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

setFullName

public void setFullName(String fullName)

setInstance

public void setInstance(String instance)

setVersion

public void setVersion(String version)

setRedundancyMode

public void setRedundancyMode(RedundancyMode redundancyMode)

setName

public void setName(String name)

getFullName

public String getFullName()
Description copied from interface: IComponentInfoMXBean
Full name of the component.

Specified by:
getFullName in interface IComponentInfoMXBean

getInstance

public String getInstance()
Description copied from interface: IComponentInfoMXBean
Instance Name format must be

Specified by:
getInstance in interface IComponentInfoMXBean

getName

public String getName()
Description copied from interface: IComponentInfoMXBean
Name of the component.Name can be Acronym.

Specified by:
getName in interface IComponentInfoMXBean

getRedundancyMode

public RedundancyMode getRedundancyMode()
Specified by:
getRedundancyMode in interface IComponentInfoMXBean

getVersion

public String getVersion()
Description copied from interface: IComponentInfoMXBean
Component version

Specified by:
getVersion in interface IComponentInfoMXBean


Copyright © 2015 Cisco. All Rights Reserved.