AttributeRepresentation attributeRepresentation = new AttributeRepresentation(attributeInfo, attributeValue, objectMapper); attributes.add(attributeRepresentation);
AttributeRepresentation attributeRepresentation = new AttributeRepresentation(attributeInfo, attributeValue, objectMapper); attributes.add(attributeRepresentation);
AttributeRepresentation attributeRepresentation = new AttributeRepresentation(attributeInfo, attributeValue, objectMapper); attributes.add(attributeRepresentation);
AttributeRepresentation attributeRepresentation = new AttributeRepresentation(attributeInfo, attributeValue, objectMapper); attributes.add(attributeRepresentation);
private AttributeRepresentation(MBeanAttributeInfo attributeInfo, Object value, ObjectMapper objectMapper) { if (canSerialize(value, objectMapper)) { this.value = value; readable = attributeInfo.isReadable(); writable = attributeInfo.isWritable(); } else { this.value = null; readable = false; writable = false; } name = attributeInfo.getName(); type = attributeInfo.getType(); description = attributeInfo.getDescription(); descriptor = toMap(attributeInfo.getDescriptor()); }
private AttributeRepresentation(MBeanAttributeInfo attributeInfo, Object value, ObjectMapper objectMapper) { if (canSerialize(value, objectMapper)) { this.value = value; readable = attributeInfo.isReadable(); writable = attributeInfo.isWritable(); } else { this.value = null; readable = false; writable = false; } name = attributeInfo.getName(); type = attributeInfo.getType(); description = attributeInfo.getDescription(); descriptor = toMap(attributeInfo.getDescriptor()); }
private AttributeRepresentation(MBeanAttributeInfo attributeInfo, Object value, ObjectMapper objectMapper) { if (canSerialize(value, objectMapper)) { this.value = value; readable = attributeInfo.isReadable(); writable = attributeInfo.isWritable(); } else { this.value = null; readable = false; writable = false; } name = attributeInfo.getName(); type = attributeInfo.getType(); description = attributeInfo.getDescription(); descriptor = toMap(attributeInfo.getDescriptor()); }
private AttributeRepresentation(MBeanAttributeInfo attributeInfo, Object value, ObjectMapper objectMapper) { if (canSerialize(value, objectMapper)) { this.value = value; readable = attributeInfo.isReadable(); writable = attributeInfo.isWritable(); } else { this.value = null; readable = false; writable = false; } name = attributeInfo.getName(); type = attributeInfo.getType(); description = attributeInfo.getDescription(); descriptor = toMap(attributeInfo.getDescriptor()); }