|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProjectOperations
Method Summary | |
---|---|
void |
addBuildPlugin(Plugin plugin)
Allows addition of a build plugin to the POM. |
void |
addDependency(Dependency dependency)
Allows addition of a JAR dependency to the POM. |
void |
addDependency(org.springframework.roo.model.JavaPackage groupId,
org.springframework.roo.model.JavaSymbolName artifactId,
String version)
Allows addition of a JAR dependency to the POM. |
void |
addDependencyListener(DependencyListener listener)
Register a listener to track changes in build dependencies |
void |
addPluginListener(PluginListener listener)
Register a listener to track changes in build plugins |
void |
addPluginRepository(Repository repository)
Allows addition of a plugin repository to the POM. |
void |
addPluginRepositoryListener(RepositoryListener listener)
Register a listener to track changes in plugin repositories |
void |
addProperty(Property property)
Allows addition of a property to the POM. |
void |
addPropertyListener(PropertyListener listener)
Register a listener to track changes in pom properties |
void |
addRepository(Repository repository)
Allows addition of a repository to the POM. |
void |
addRepositoryListener(RepositoryListener listener)
Register a listener to track changes in repositories |
void |
buildPluginUpdate(Plugin buildPlugin)
Verifies if the specified build plugin is present. |
void |
dependencyUpdate(Dependency dependency)
Verifies if the specified dependency is present. |
boolean |
isDependencyModificationAllowed()
|
boolean |
isPerformCommandAllowed()
|
void |
removeBuildPlugin(Plugin plugin)
Allows remove of an existing build plugin from the POM. |
void |
removeDependency(Dependency dependency)
Allows removal of a JAR dependency to the POM. |
void |
removeDependency(org.springframework.roo.model.JavaPackage groupId,
org.springframework.roo.model.JavaSymbolName artifactId,
String version)
Allows remove of an existing JAR dependency from the POM. |
void |
removeDependencyListener(DependencyListener listener)
Remove a dependency listener from change tracking |
void |
removePluginListener(PluginListener listener)
Remove a build plugin listener from change tracking |
void |
removePluginRepository(Repository repository)
Allows remove of an existing plugin repository from the POM. |
void |
removePluginRepositoryListener(RepositoryListener listener)
Remove a plugin repository listener from change tracking |
void |
removeProperty(Property property)
Allows remove of an existing property from the POM. |
void |
removePropertyListener(PropertyListener listener)
Remove a property listener from change tracking |
void |
removeRepository(Repository repository)
Allows remove of an existing repository from the POM. |
void |
removeRepositoryListener(RepositoryListener listener)
Remove a repository listener from change tracking |
void |
updateProjectType(ProjectType projectType)
|
Method Detail |
---|
boolean isDependencyModificationAllowed()
boolean isPerformCommandAllowed()
void addDependencyListener(DependencyListener listener)
void removeDependencyListener(DependencyListener listener)
void addRepositoryListener(RepositoryListener listener)
void removeRepositoryListener(RepositoryListener listener)
void addPluginRepositoryListener(RepositoryListener listener)
void removePluginRepositoryListener(RepositoryListener listener)
void addPluginListener(PluginListener listener)
void removePluginListener(PluginListener listener)
void addPropertyListener(PropertyListener listener)
void removePropertyListener(PropertyListener listener)
void updateProjectType(ProjectType projectType)
void addDependency(Dependency dependency)
Provides a convenient way for third parties to instruct end users how to use the CLI to add support for their projects without requiring the user to manually edit a pom.xml or write an add-on.
dependency
- to add (required)void addDependency(org.springframework.roo.model.JavaPackage groupId, org.springframework.roo.model.JavaSymbolName artifactId, String version)
Provides a convenient way for third parties to instruct end users how to use the CLI to add support for their projects without requiring the user to manually edit a pom.xml or write an add-on.
groupId
- to add (required)artifactId
- to add (required)version
- to add (required)void removeDependency(Dependency dependency)
Provides a convenient way for third parties to instruct end users how to use the CLI to remove an unwanted dependency from their projects without requiring the user to manually edit a pom.xml or write an add-on.
dependency
- to remove (required)void removeDependency(org.springframework.roo.model.JavaPackage groupId, org.springframework.roo.model.JavaSymbolName artifactId, String version)
Provides a convenient way for third parties to instruct end users how to use the CLI to remove an unwanted dependency from their projects without requiring the user to manually edit a pom.xml or write an add-on.
groupId
- to remove (required)artifactId
- to remove (required)version
- to remove (required)void dependencyUpdate(Dependency dependency)
ProjectMetadata.getDependenciesExcludingVersion(Dependency)
.
Always adds the presented dependency.
dependency
- to add (required)void addRepository(Repository repository)
Provides a convenient way for third parties to instruct end users how to use the CLI to add support for their projects without requiring the user to manually edit a pom.xml or write an add-on.
repository
- to add (required)void removeRepository(Repository repository)
Provides a convenient way for third parties to instruct end users how to use the CLI to remove an unwanted repository from their projects without requiring the user to manually edit a pom.xml or write an add-on.
repository
- to remove (required)void addPluginRepository(Repository repository)
Provides a convenient way for third parties to instruct end users how to use the CLI to add support for their projects without requiring the user to manually edit a pom.xml or write an add-on.
repository
- to add (required)void removePluginRepository(Repository repository)
Provides a convenient way for third parties to instruct end users how to use the CLI to remove an unwanted plugin repository from their projects without requiring the user to manually edit a pom.xml or write an add-on.
plugin
- repository to remove (required)void addBuildPlugin(Plugin plugin)
Provides a convenient way for third parties to instruct end users how to use the CLI to add a new build capability to their projects without requiring the user to manually edit a pom.xml or write an add-on.
plugin
- to add (required)void removeBuildPlugin(Plugin plugin)
Provides a convenient way for third parties to instruct end users how to use the CLI to remove an unwanted build plugin from their projects without requiring the user to manually edit a pom.xml or write an add-on.
plugin
- to add (required)void buildPluginUpdate(Plugin buildPlugin)
ProjectMetadata.getBuildPluginsExcludingVersion(Plugin)
.
Always adds the presented plugin.
plugin
- to remove (required)void addProperty(Property property)
Provides a convenient way for third parties to instruct end users how to use the CLI to add support for their projects without requiring the user to manually edit a pom.xml or write an add-on.
property
- to add (required)void removeProperty(Property property)
Provides a convenient way for third parties to instruct end users how to use the CLI to remove an unwanted property from their projects without requiring the user to manually edit a pom.xml or write an add-on.
property
- to remove (required)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |