diff options
Diffstat (limited to 'platform/external-system-api/src/com/intellij/openapi/externalSystem/model')
2 files changed, 17 insertions, 0 deletions
diff --git a/platform/external-system-api/src/com/intellij/openapi/externalSystem/model/DefaultExternalSourceDirectorySet.java b/platform/external-system-api/src/com/intellij/openapi/externalSystem/model/DefaultExternalSourceDirectorySet.java index d6a8d7aa6291..8121c0ccaa8a 100644 --- a/platform/external-system-api/src/com/intellij/openapi/externalSystem/model/DefaultExternalSourceDirectorySet.java +++ b/platform/external-system-api/src/com/intellij/openapi/externalSystem/model/DefaultExternalSourceDirectorySet.java @@ -43,6 +43,8 @@ public class DefaultExternalSourceDirectorySet implements ExternalSourceDirector @NotNull private List<ExternalFilter> myFilters; + private boolean myInheritedCompilerOutput; + public DefaultExternalSourceDirectorySet() { mySrcDirs = new HashSet<File>(); myExcludes = new HashSet<String>(); @@ -88,6 +90,15 @@ public class DefaultExternalSourceDirectorySet implements ExternalSourceDirector return myOutputDir; } + @Override + public boolean isCompilerOutputPathInherited() { + return myInheritedCompilerOutput; + } + + public void setInheritedCompilerOutput(boolean inheritedCompilerOutput) { + myInheritedCompilerOutput = inheritedCompilerOutput; + } + @NotNull @Override public Set<String> getIncludes() { diff --git a/platform/external-system-api/src/com/intellij/openapi/externalSystem/model/ExternalSourceDirectorySet.java b/platform/external-system-api/src/com/intellij/openapi/externalSystem/model/ExternalSourceDirectorySet.java index 70f0bed3d177..530d4d4c0695 100644 --- a/platform/external-system-api/src/com/intellij/openapi/externalSystem/model/ExternalSourceDirectorySet.java +++ b/platform/external-system-api/src/com/intellij/openapi/externalSystem/model/ExternalSourceDirectorySet.java @@ -36,6 +36,12 @@ public interface ExternalSourceDirectorySet extends Serializable { @NotNull File getOutputDir(); + /** + * Returns <code>true</code> if compiler output for this ExternalSourceDirectorySet should is inherited from IDEA project + * @return true if compiler output path is inherited, false otherwise + */ + boolean isCompilerOutputPathInherited(); + @NotNull Set<String> getExcludes(); @NotNull |