diff options
author | Evgeny Mandrikov <mandrikov@gmail.com> | 2011-01-20 17:45:08 +0300 |
---|---|---|
committer | Evgeny Mandrikov <mandrikov@gmail.com> | 2011-01-20 17:48:40 +0300 |
commit | 561c33f966fcc7290234077e3ecbde586e2885f0 (patch) | |
tree | 09d9c2ed93ec569962d82a49fcd72a7a7dae68e2 /sonar-plugin-api | |
parent | feb1afef7c9aac12f280185267b8fa77ad87c895 (diff) | |
download | sonarqube-561c33f966fcc7290234077e3ecbde586e2885f0.tar.gz sonarqube-561c33f966fcc7290234077e3ecbde586e2885f0.zip |
SONAR-2126: Rename ProjectDirectory to FileSystemDirectory
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/resources/DefaultFileSystemDirectory.java (renamed from sonar-plugin-api/src/main/java/org/sonar/api/resources/DefaultProjectDirectory.java) | 12 | ||||
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/resources/FileSystemDirectory.java (renamed from sonar-plugin-api/src/main/java/org/sonar/api/resources/ProjectDirectory.java) | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/resources/DefaultProjectDirectory.java b/sonar-plugin-api/src/main/java/org/sonar/api/resources/DefaultFileSystemDirectory.java index bdf4ba1a6bb..44461fb4772 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/resources/DefaultProjectDirectory.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/resources/DefaultFileSystemDirectory.java @@ -25,7 +25,7 @@ import java.io.File; import java.util.Collections; import java.util.List; -public class DefaultProjectDirectory implements ProjectDirectory { +public class DefaultFileSystemDirectory implements FileSystemDirectory { private String nature; private File location; @@ -37,7 +37,7 @@ public class DefaultProjectDirectory implements ProjectDirectory { return nature; } - public DefaultProjectDirectory setNature(String nature) { + public DefaultFileSystemDirectory setNature(String nature) { this.nature = nature; return this; } @@ -46,7 +46,7 @@ public class DefaultProjectDirectory implements ProjectDirectory { return location; } - public DefaultProjectDirectory setLocation(File location) { + public DefaultFileSystemDirectory setLocation(File location) { this.location = location; return this; } @@ -55,7 +55,7 @@ public class DefaultProjectDirectory implements ProjectDirectory { return outputLocation; } - public DefaultProjectDirectory setOutputLocation(File outputLocation) { + public DefaultFileSystemDirectory setOutputLocation(File outputLocation) { this.outputLocation = outputLocation; return this; } @@ -70,7 +70,7 @@ public class DefaultProjectDirectory implements ProjectDirectory { /** * @param pattern Ant-like inclusion pattern */ - public DefaultProjectDirectory addInclusionPattern(String pattern) { + public DefaultFileSystemDirectory addInclusionPattern(String pattern) { if (inclusionPatterns == null) { inclusionPatterns = Lists.newArrayList(); } @@ -88,7 +88,7 @@ public class DefaultProjectDirectory implements ProjectDirectory { /** * @param pattern Ant-like exclusion pattern */ - public DefaultProjectDirectory addExclusionPattern(String pattern) { + public DefaultFileSystemDirectory addExclusionPattern(String pattern) { if (exclusionPatterns == null) { exclusionPatterns = Lists.newArrayList(); } diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/resources/ProjectDirectory.java b/sonar-plugin-api/src/main/java/org/sonar/api/resources/FileSystemDirectory.java index 4b645a553ce..17c8298836c 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/resources/ProjectDirectory.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/resources/FileSystemDirectory.java @@ -48,7 +48,7 @@ import java.util.List; * * @since 2.6 */ -public interface ProjectDirectory { +public interface FileSystemDirectory { /** * @return nature of underlying files. |