Class 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 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 be null
        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, or null if none
        externalObjectName - the external object name, or null if none
        externalObjectType - the external object type as String, or null if none
        Returns:
        the external object or null if not found or parameters are null