public static Resource gmpHomeURL()

in src/main/java/com/epam/gmp/config/GMPConfig.java [59:72]


    public static Resource gmpHomeURL() {
        Resource gmpHomeUrl;
        String pGmpHome = gmpHome();
        try {
            if (pGmpHome != null) {
                gmpHomeUrl = new UrlResource(pGmpHome);
            } else {
                gmpHomeUrl = new ClassPathResource("gmp-home/");
            }
        } catch (MalformedURLException e) {
            throw new ScriptContextException("Unable to initialize gmpHome", e);
        }
        return gmpHomeUrl;
    }