Class ProfilingUIUtils
java.lang.Object
com._1c.g5.v8.dt.internal.profiling.ui.ProfilingUIUtils
Utilities class for profiling UI.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final doublePublic constant of the compare result default threshold value. -
Method Summary
Modifier and TypeMethodDescriptionstatic final booleanisClientType(DebugTargetType type) Checks whether the passed debug target type is client-side.
Client-side debug target types includeDebugTargetType.CLIENT,DebugTargetType.MOBILE_CLIENT,DebugTargetType.MANAGED_CLIENTandDebugTargetType.WEB_CLIENT.static final booleanChecks whether the passed debug target type is standalone-server-side.static final booleanisNamed(IProfilingResult result) Checks whether the profiling result is named or not.
Result is named whenresult.getName()andresult.getUuid().toString()are not equal.static final booleanisServerType(DebugTargetType type) Checks whether the passed debug target type is server-side.
-
Field Details
-
DEFAULT_THRESHOLD
public static final double DEFAULT_THRESHOLDPublic constant of the compare result default threshold value. Value is 1.0E-7.- See Also:
-
-
Method Details
-
isNamed
Checks whether the profiling result is named or not.
Result is named whenresult.getName()andresult.getUuid().toString()are not equal.- Parameters:
result- Result to check. Cannot benull.- Returns:
trueif result is named,falseotherwise.
-
isClientType
Checks whether the passed debug target type is client-side.
Client-side debug target types includeDebugTargetType.CLIENT,DebugTargetType.MOBILE_CLIENT,DebugTargetType.MANAGED_CLIENTandDebugTargetType.WEB_CLIENT. All other debug target types are considered to be server-side or standalone-server-side.- Parameters:
type- Type to check. Cannot benull.- Returns:
trueif passed debug target type is client-side,falseotherwise.
-
isServerType
Checks whether the passed debug target type is server-side.- Parameters:
type- Type to check. Cannot benull.- Returns:
trueif passed debug target type is server-side,falseotherwise.
-
isMobileManagedServerType
Checks whether the passed debug target type is standalone-server-side.- Parameters:
type- Type to check. Cannot benull.- Returns:
trueif passed debug target type is server-side,falseotherwise.
-