class ProcessGitSourceStep extends SyncFlowableStep {

    protected String getGitUri(ProcessContext context) {
        String gitUriParam = StepsUtil.getGitRepoUri(context);
        try {
            return new URL(gitUriParam).toString();
        } catch (MalformedURLException e) {
            throw new ContentException(e, Messages.GIT_URI_IS_NOT_SPECIFIED);
        }
    }

}