generator/api/src/main/java/io/fabric8/maven/generator/api/support/BaseGenerator.java
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 .