예제 #1
0
    def config(self):
        """
        Get the DiscoverService

        @return: a DiscoverService from zenhub
        @rtype: function
        """
        return self.services.get('DiscoverService', FakeRemote())
예제 #2
0
    def model(self):
        """
        Return the list of services from zenhub

        @return: list of services
        @rtype: list
        """
        return self.services.get(self.initialServices[-1], FakeRemote())
예제 #3
0
 def config(self):
     """
     Get the ModelerService
     """
     return self.services.get('ModelerService', FakeRemote())
예제 #4
0
 def getRemoteConfigServiceProxy(self):
     """
     Called to retrieve the remote configuration service proxy object.
     """
     return self.services.get(self.preferences.configurationService,
                              FakeRemote())
예제 #5
0
 def model(self):
     return self.services.get('EventService', FakeRemote())