Enum DebugServerLocation

    • Enum Constant Detail

      • AUTO

        public static final DebugServerLocation AUTO
        The auto debug server option that will be resolved in launch time for any provided infobase.
      • LOCAL

        public static final DebugServerLocation LOCAL
        Local 1C:Enterprise debug server that will be launched by IDE.
      • CLUSTER

        public static final DebugServerLocation CLUSTER
        1C:Enterprise debug server launched by 1C:Enterprise server cluster.
      • REMOTE

        public static final DebugServerLocation REMOTE
        Remote 1C:Enterprise debug server that is already launched by outside of IDE.
    • Method Detail

      • values

        public static DebugServerLocation[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (DebugServerLocation c : DebugServerLocation.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DebugServerLocation valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • get

        public static Optional<DebugServerLocation> get​(String string)
        Returns an instance of DebugServerLocation with the provided name.
        Parameters:
        string - the string to get debug server location for, cannot be null
        Returns:
        an instance of DebugServerLocation with the provided name
      • forInfobase

        public static DebugServerLocation forInfobase​(InfobaseReference infobase)
        Returns an appropriate DebugServerLocation for the provided possibly null infobase.
        Parameters:
        infobase - the infobase to get an appropriate location for or null if unknown
        Returns:
        an appropriate DebugServerLocation for the provided possibly null infobase, never null