Class ExternalObjectHelper
- java.lang.Object
-
- com._1c.g5.v8.dt.launching.core.launchconfigurations.ExternalObjectHelper
-
public final class ExternalObjectHelper extends Object
Utility methods to resolve external object by its project, name and type.- Restriction:
- This class is not intended to be sub-classed by clients.
- Restriction:
- This class is not intended to be instantiated by clients.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getClassName(MdObject externalObject)
Returns the external object class name for the given external object to use for launch configurations attribute class storing.static MdObject
getExternalObject(IExternalObjectProject project, String externalObjectName, String externalObjectType)
Returns the external object in the given project with the given name.
-
-
-
Method Detail
-
getClassName
public static String getClassName(MdObject externalObject)
Returns the external object class name for the given external object to use for launch configurations attribute class storing.- Parameters:
externalObject
- the external object to get class name for, cannot benull
- Returns:
- the external object class name for the given external object to use for launch
configurations attribute class storing, never
null
-
getExternalObject
public static MdObject getExternalObject(IExternalObjectProject project, String externalObjectName, String externalObjectType)
Returns the external object in the given project with the given name.- Parameters:
project
- the external object project, ornull
if noneexternalObjectName
- the external object name, ornull
if noneexternalObjectType
- the external object type asString
, ornull
if none- Returns:
- the external object or
null
if not found or parameters arenull
-
-