Enum DebugServerLocation
- java.lang.Object
-
- java.lang.Enum<DebugServerLocation>
-
- com._1c.g5.v8.dt.debug.core.launchconfigurations.DebugServerLocation
-
- All Implemented Interfaces:
Serializable
,Comparable<DebugServerLocation>
public enum DebugServerLocation extends Enum<DebugServerLocation>
The location of the 1C:Enterprise debug server to use for launch process.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTO
The auto debug server option that will be resolved in launch time for any provided infobase.LOCAL
Local 1C:Enterprise debug server that will be launched by IDE.PROVIDED
1C:Enterprise debug server provided by the 1C:Enterprise Designer agent as debug information.REMOTE
Remote 1C:Enterprise debug server that is already launched by outside of IDE.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DebugServerLocation
forInfobase(InfobaseReference infobase)
Returns an appropriateDebugServerLocation
for the provided possiblynull
infobase.static Optional<DebugServerLocation>
get(String string)
Returns an instance ofDebugServerLocation
with the provided name.static DebugServerLocation
valueOf(String name)
Returns the enum constant of this type with the specified name.static DebugServerLocation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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.
-
PROVIDED
public static final DebugServerLocation PROVIDED
1C:Enterprise debug server provided by the 1C:Enterprise Designer agent as debug information.
-
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 nameNullPointerException
- if the argument is null
-
get
public static Optional<DebugServerLocation> get(String string)
Returns an instance ofDebugServerLocation
with the provided name.- Parameters:
string
- the string to get debug server location for, cannot benull
- Returns:
- an instance of
DebugServerLocation
with the provided name
-
forInfobase
public static DebugServerLocation forInfobase(InfobaseReference infobase)
Returns an appropriateDebugServerLocation
for the provided possiblynull
infobase.- Parameters:
infobase
- the infobase to get an appropriate location for ornull
if unknown- Returns:
- an appropriate
DebugServerLocation
for the provided possiblynull
infobase, nevernull
-
-