Class DebugTargetTypeUtil


  • public final class DebugTargetTypeUtil
    extends Object
    Support methods to work with DebugTargetType.
    Restriction:
    This class is not intended to be sub-classed by clients.
    Restriction:
    This class is not intended to be instantiated by clients.
    • Method Detail

      • isServer

        public static boolean isServer​(DebugTargetType type)
        Returns whether the provided 1C:Enterprise debug target type is a server type.
        Parameters:
        type - the 1C:Enterprise debug target type, cannot be null
        Returns:
        whether the provided 1C:Enterprise debug target type is a server type
      • isClient

        public static boolean isClient​(DebugTargetType type)
        Returns whether the provided 1C:Enterprise debug target type is a client type.
        Parameters:
        type - the 1C:Enterprise debug target type, cannot be null
        Returns:
        whether the provided 1C:Enterprise debug target type is a client type
      • getPresentation

        public static String getPresentation​(DebugTargetType type)
        Returns text presentation of the provided 1C:Enterprise debug target type. Method is intended to be used for UI presentation of debug targets.
        Parameters:
        type - the 1C:Enterprise debug target type, cannot be null
        Returns:
        the text presentation of the given debug target type, never null