@Service public class PomManagementServiceImpl extends Object
| Constructor and Description |
|---|
PomManagementServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
activate(org.osgi.service.component.ComponentContext cContext) |
org.springframework.roo.process.manager.FileManager |
getFileManager()
Method to get FileManager Service implementation
|
org.springframework.roo.file.monitor.FileMonitorService |
getFileMonitorService()
Method to get FileMonitorService Service implementation
|
Pom |
getFocusedModule()
Returns the
ProjectDescriptor of the currently focussed module,
or if no module has the focus, the root ProjectDescriptor. |
String |
getFocusedModuleName()
Returns the name of the currently focussed module.
|
org.springframework.roo.metadata.MetadataDependencyRegistry |
getMetadataDependencyRegistry()
Method to get MetadataDependencyRegistry Service implementation
|
org.springframework.roo.metadata.MetadataService |
getMetadataService()
Method to get MetadataService Service implementation
|
Pom |
getModuleForFileIdentifier(String fileIdentifier) |
Collection<String> |
getModuleNames()
Returns the names of the modules of this project
|
PomFactory |
getPomFactory()
Method to get PomFactory Service implementation
|
Pom |
getPomFromModuleName(String moduleName)
Returns the
ProjectDescriptor for the module with the given name. |
Pom |
getPomFromPath(String pomPath)
Returns the
ProjectDescriptor with the given canonical path |
Collection<Pom> |
getPoms()
Returns the known
ProjectDescriptors |
Pom |
getRootPom()
Returns the
ProjectDescriptor associated with the project's root
descriptor file |
org.springframework.roo.shell.Shell |
getShell()
Method to get Shell Service implementation
|
void |
setFocusedModule(Pom focusedModule)
Focuses on the given module.
|
protected void activate(org.osgi.service.component.ComponentContext cContext)
public Pom getFocusedModule()
ProjectDescriptor of the currently focussed module,
or if no module has the focus, the root ProjectDescriptor.null if none of the above Poms existpublic String getFocusedModuleName()
public Pom getModuleForFileIdentifier(String fileIdentifier)
fileIdentifier - the canonical path to lookuppublic Collection<String> getModuleNames()
null collectionpublic Pom getPomFromModuleName(String moduleName)
ProjectDescriptor for the module with the given name.moduleName - the name of the module to look up (can be blank)null if there's no such modulepublic Pom getPomFromPath(String pomPath)
ProjectDescriptor with the given canonical pathpomPath - the canonical path of the descriptor filenull if there is no such filepublic Collection<Pom> getPoms()
ProjectDescriptorsnull copy of this collectionpublic Pom getRootPom()
ProjectDescriptor associated with the project's root
descriptor filenull if there's no such POMpublic void setFocusedModule(Pom focusedModule)
focusedModule - the module to focus upon (required)public org.springframework.roo.file.monitor.FileMonitorService getFileMonitorService()
public PomFactory getPomFactory()
public org.springframework.roo.process.manager.FileManager getFileManager()
public org.springframework.roo.metadata.MetadataService getMetadataService()
public org.springframework.roo.metadata.MetadataDependencyRegistry getMetadataDependencyRegistry()
public org.springframework.roo.shell.Shell getShell()
Copyright © 2009–2017 Pivotal Software, Inc.. All rights reserved.