Class AttributeHelper

java.lang.Object
io.jmix.jmxconsole.AttributeHelper

public class AttributeHelper extends Object
A helper class for handling JMX attribute types and values.
  • Constructor Details

    • AttributeHelper

      public AttributeHelper()
  • Method Details

    • convert

      @Nullable public static Object convert(String type, String str)
    • isBoolean

      public static boolean isBoolean(String type)
    • isArrayOrCollection

      public static boolean isArrayOrCollection(String type)
    • isCollection

      public static boolean isCollection(String type)
    • isArray

      public static boolean isArray(String type)
    • isObjectArrayOrCollection

      public static boolean isObjectArrayOrCollection(String type)
    • isObjectArray

      public static boolean isObjectArray(String type)
    • isPrimitiveTypeOrString

      public static boolean isPrimitiveTypeOrString(String type)
    • isList

      public static boolean isList(String type)
    • isSet

      public static boolean isSet(String type)
    • getArrayType

      public static Class getArrayType(String type)
    • convertTypeToReadableName

      public static String convertTypeToReadableName(String type)
    • substringAfterLastDot

      public static String substringAfterLastDot(String type)
    • isDate

      public static boolean isDate(String type)
    • convertToString

      @Nullable public static String convertToString(Object value)
    • tabularToString

      protected static String tabularToString(TabularData tabularData)
    • compositeToString

      protected static String compositeToString(CompositeData compositeData)
    • convertToTrueObject

      @Nullable protected static Object convertToTrueObject(CompositeData compositeData)
    • canConvertToTrueObject

      protected static boolean canConvertToTrueObject(CompositeData compositeData)