Class MBeanParameterInfo

    • Constructor Detail

      • MBeanParameterInfo

        public MBeanParameterInfo​(String name,
                                  String type,
                                  String description)
        Constructs an MBeanParameterInfo object.
        Parameters:
        name - The name of the data
        type - The type or class name of the data
        description - A human readable description of the data. Optional.
      • MBeanParameterInfo

        public MBeanParameterInfo​(String name,
                                  String type,
                                  String description,
                                  Descriptor descriptor)
        Constructs an MBeanParameterInfo object.
        Parameters:
        name - The name of the data
        type - The type or class name of the data
        description - A human readable description of the data. Optional.
        descriptor - The descriptor for the operation. This may be null which is equivalent to an empty descriptor.
        Since:
        1.6
    • Method Detail

      • clone

        public Object clone()

        Returns a shallow clone of this instance. The clone is obtained by simply calling super.clone(), thus calling the default native shallow cloning mechanism implemented by Object.clone(). No deeper cloning of any internal field is made.

        Since this class is immutable, cloning is chiefly of interest to subclasses.

        Overrides:
        clone in class Object
        Returns:
        a clone of this instance.
        See Also:
        Cloneable
      • getType

        public String getType()
        Returns the type or class name of the data.
        Returns:
        the type string.