protected String getRegistry() {
        if (!RuntimeMode.isOpenShiftMode(getProject().getProperties())) {
            return getConfigWithFallback(Config.registry, "fabric8.generator.registry", null);
        }

        return null;
    }
protected String getRegistry() {
        if (!RuntimeMode.isOpenShiftMode(getProject().getProperties())) {
            return getConfigWithFallback(Config.registry, "fabric8.generator.registry", null);
        }

        return null;
    }
protected String getRegistry ( ) { if ( ! RuntimeMode . isOpenShiftMode ( getProject ( ) . getProperties ( ) ) ) { return getConfigWithFallback ( Config . registry , "fabric8.generator.registry" , null ) ; } return null ; }
Get the docker registry where the image should be located.
It returns null in Openshift mode.

@return The docker registry if configured
Get the docker registry where the image should be located . It returns null in Openshift mode .