org.springframework.roo.classpath.operations
Class AbstractOperations
java.lang.Object
org.springframework.roo.classpath.operations.AbstractOperations
public abstract class AbstractOperations
- extends Object
Abstract base class for operations classes. Contains common methods.
- Since:
- 1.2.0
- Author:
- Alan Stewart
|
Field Summary |
protected org.osgi.framework.BundleContext |
context
|
protected org.springframework.roo.process.manager.FileManager |
fileManager
|
protected static Logger |
LOGGER
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOGGER
protected static Logger LOGGER
fileManager
@Reference
protected org.springframework.roo.process.manager.FileManager fileManager
context
protected org.osgi.framework.BundleContext context
AbstractOperations
public AbstractOperations()
activate
protected void activate(org.osgi.service.component.ComponentContext cContext)
copyDirectoryContents
public void copyDirectoryContents(String sourceAntPath,
String targetDirectory,
boolean replace)
- This method will copy the contents of a directory to another if the
resource does not already exist in the target directory
- Parameters:
sourceAntPath - the source pathtargetDirectory - the target directory
getDocumentTemplate
public Document getDocumentTemplate(String templateName)
Copyright © 2009–2015. All rights reserved.