com.prezi.pride.vcs.svn.SvnVcsSupportFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pride-svn-support Show documentation
Show all versions of pride-svn-support Show documentation
Pride manages multiple Gradle modules as a single Gradle project
package com.prezi.pride.vcs.svn;
import com.prezi.pride.vcs.VcsSupport;
import com.prezi.pride.vcs.VcsSupportFactory;
import org.apache.commons.configuration.Configuration;
import java.io.File;
public class SvnVcsSupportFactory implements VcsSupportFactory {
@Override
public String getType() {
return "svn";
}
@Override
public VcsSupport createVcsSupport(Configuration configuration) {
return new SvnVcsSupport();
}
@Override
public boolean canSupport(File targetDirectory) {
return new File(targetDirectory, ".svn").isDirectory();
}
}