@classmethod
def getJobStore(cls, locator):
    """
        Create an instance of the concrete job store implementation that matches the given locator.

        :param str locator: The location of the job store to be represent by the instance

        :return: an instance of a concrete subclass of AbstractJobStore
        :rtype: toil.jobStores.abstractJobStore.AbstractJobStore
        """
    name, rest = cls.parseLocator(locator)
    if name == 'file':
        from toil.jobStores.fileJobStore import FileJobStore
        return FileJobStore(rest)
    elif name == 'aws':
        from toil.jobStores.aws.jobStore import AWSJobStore
        return AWSJobStore(rest)
    elif name == 'google':
        from toil.jobStores.googleJobStore import GoogleJobStore
        return GoogleJobStore(rest)
    else:
        raise RuntimeError("Unknown job store implementation '%s'" % name)
