All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.purej.vminspect.data.MBeanAttribute Maven / Gradle / Ivy

Go to download

An easy to use, feature-rich, JMX-based and embeddable Java VM monitoring tool with a web-based user-interface

There is a newer version: 2.1.1
Show newest version
// Copyright (c), 2013, adopus consulting GmbH Switzerland, all rights reserved.
package com.purej.vminspect.data;

/**
 * Represents a resolved MBean attribute.
 *
 * @author Stefan Mueller
 */
public class MBeanAttribute {
  private final String _name;
  private final Object _value;
  private final String _description;
  private final String _type;
  private final boolean _writable;

  /**
   * Creates a new instance of this class.
   */
  public MBeanAttribute(String name, Object value, String description, String type, boolean writable) {
    _name = name;
    _value = value;
    _description = description;
    _type = type;
    _writable = writable;
  }

  /**
   * @return the MBean attribute name
   */
  public String getName() {
    return _name;
  }

  /**
   * @return the MBean attribute value
   */
  public Object getValue() {
    return _value;
  }

  /**
   * @return the MBean attribute description
   */
  public String getDescription() {
    return _description;
  }

  /**
   * @return the MBean attribute type
   */
  public String getType() {
    return _type;
  }

  /**
   * @return if the MBean attribute is writable
   */
  public boolean isWritable() {
    return _writable;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy