-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split GradleModel into GradleDirect/EffectiveModel
- Loading branch information
1 parent
d8da373
commit 8f78ad0
Showing
15 changed files
with
134 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
61 changes: 61 additions & 0 deletions
61
api/src/main/java/org/jboss/forge/addon/gradle/projects/model/GradleEffectiveModel.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
/* | ||
* Copyright 2013 Red Hat, Inc. and/or its affiliates. | ||
* | ||
* Licensed under the Eclipse Public License version 1.0, available at | ||
* http://www.eclipse.org/legal/epl-v10.html | ||
*/ | ||
package org.jboss.forge.addon.gradle.projects.model; | ||
|
||
import java.util.List; | ||
|
||
/** | ||
* @author Adam Wyłuda | ||
*/ | ||
public interface GradleEffectiveModel extends GradleDirectModel | ||
{ | ||
// ---------- Script | ||
|
||
String getScript(); | ||
|
||
void setScript(String script); | ||
|
||
// ---------- Project paths | ||
|
||
String getProjectPath(); | ||
|
||
String getRootProjectPath(); | ||
|
||
String getArchivePath(); | ||
|
||
// ---------- Dependencies | ||
|
||
List<GradleDependency> getEffectiveDependencies(); | ||
|
||
boolean hasEffectiveDependency(GradleDependencyBuilder builder); | ||
|
||
// ---------- Managed dependencies | ||
|
||
List<GradleDependency> getEffectiveManagedDependencies(); | ||
|
||
boolean hasEffectiveManagedDependency(GradleDependencyBuilder builder); | ||
|
||
// ---------- Profiles | ||
|
||
// TODO Effective profiles | ||
|
||
// ---------- Plugins | ||
|
||
// TODO Effective plugins | ||
|
||
// ---------- Repositories | ||
|
||
// TODO Effective repositories | ||
|
||
// --------- Source sets | ||
|
||
List<GradleSourceSet> getEffectiveSourceSets(); | ||
|
||
// ---------- Properties | ||
|
||
// TODO Effective properties | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.