com.purej.vminspect.data.MBeanAttribute Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of purej-vminspect Show documentation
Show all versions of purej-vminspect Show documentation
An easy to use, feature-rich, JMX-based and embeddable Java VM monitoring tool with a web-based user-interface
// 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