|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ProjectMetadataProvider
Provides mutability services for ProjectMetadata.
| Method Summary | |
|---|---|
void |
addBuildPlugin(Plugin plugin)
Attempts to add the specified build plugin. |
void |
addDependency(Dependency dependency)
Attempts to add the specified dependency. |
void |
addPluginRepository(Repository repository)
Attempts to add the specified plugin repository. |
void |
addProperty(Property property)
Attempts to add the specified property. |
void |
addRepository(Repository repository)
Attempts to add the specified repository. |
void |
removeBuildPlugin(Plugin plugin)
Attempts to remove the specified build plugin dependency. |
void |
removeDependency(Dependency dependency)
Attempts to remove the specified dependency. |
void |
removePluginRepository(Repository repository)
Attempts to remove the specified plugin repository. |
void |
removeProperty(Property property)
Attempts to remove the specified property dependency. |
void |
removeRepository(Repository repository)
Attempts to remove the specified repository. |
void |
updateProjectType(ProjectType projectType)
Attempts to update the project packaging type as defined via ProjectType. |
| Methods inherited from interface org.springframework.roo.metadata.MetadataProvider |
|---|
get, getProvidesType |
| Method Detail |
|---|
void addDependency(Dependency dependency)
ProjectMetadata.isDependencyRegistered(Dependency), the method silently returns.
Otherwise the dependency is added.
An exception is thrown if this method is called before there is ProjectMetadata
available, or if the on-disk representation cannot be modified for any reason.
dependency - to add (required)void removeDependency(Dependency dependency)
ProjectMetadata.isDependencyRegistered(Dependency), the method silently returns.
Otherwise the located dependency is removed.
An exception is thrown if this method is called before there is ProjectMetadata
available, or if the on-disk representation cannot be modified for any reason.
dependency - to remove (required)void addBuildPlugin(Plugin plugin)
ProjectMetadata.isBuildPluginRegistered(Plugin),
the method silently returns. Otherwise the plugin is added.
An exception is thrown if this method is called before there is ProjectMetadata
available, or if the on-disk representation cannot be modified for any reason.
plugin - to add (required)void removeBuildPlugin(Plugin plugin)
ProjectMetadata#isBuildPluginDependencyRegistered(Plugin),
the method silently returns. Otherwise the located dependency is removed.
An exception is thrown if this method is called before there is ProjectMetadata
available, or if the on-disk representation cannot be modified for any reason.
plugin - to remove (required)void addRepository(Repository repository)
ProjectMetadata.isRepositoryRegistered(Repository), the method silently returns.
Otherwise the repository is added.
An exception is thrown if this method is called before there is ProjectMetadata
available, or if the on-disk representation cannot be modified for any reason.
repository - to add (required)void removeRepository(Repository repository)
ProjectMetadata.isRepositoryRegistered(Repository),
the method silently returns. Otherwise the located repository is removed.
An exception is thrown if this method is called before there is ProjectMetadata
available, or if the on-disk representation cannot be modified for any reason.
repository - to remove (required)void addPluginRepository(Repository repository)
ProjectMetadata.isPluginRepositoryRegistered(Repository), the method silently returns.
Otherwise the repository is added.
An exception is thrown if this method is called before there is ProjectMetadata
available, or if the on-disk representation cannot be modified for any reason.
plugin - repository to add (required)void removePluginRepository(Repository repository)
ProjectMetadata.isPluginRepositoryRegistered(Repository),
the method silently returns. Otherwise the located plugin repository is removed.
An exception is thrown if this method is called before there is ProjectMetadata
available, or if the on-disk representation cannot be modified for any reason.
plugin - repository to remove (required)void addProperty(Property property)
ProjectMetadata#isBuildPropertyRegistered(Property),
the method silently returns. Otherwise the property is added.
An exception is thrown if this method is called before there is ProjectMetadata
available, or if the on-disk representation cannot be modified for any reason.
property - to add (required)void removeProperty(Property property)
ProjectMetadata#isPropertyDependencyRegistered(Property),
the method silently returns. Otherwise the located dependency is removed.
An exception is thrown if this method is called before there is ProjectMetadata
available, or if the on-disk representation cannot be modified for any reason.
property - to remove (required)void updateProjectType(ProjectType projectType)
ProjectType. If the
project packaging is not defined it will create a new definition.
An exception is thrown if this method is called before there is ProjectMetadata
available, or if the on-disk representation cannot be modified for any reason.
ProjectType - to update (required)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||