org.springframework.roo.classpath.operations
Class AbstractOperations

java.lang.Object
  extended by 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
           
 
Constructor Summary
AbstractOperations()
           
 
Method Summary
protected  void activate(org.osgi.service.component.ComponentContext cContext)
           
 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
 Document getDocumentTemplate(String templateName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOGGER

protected static Logger LOGGER

fileManager

@Reference
protected org.springframework.roo.process.manager.FileManager fileManager

context

protected org.osgi.framework.BundleContext context
Constructor Detail

AbstractOperations

public AbstractOperations()
Method Detail

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 path
targetDirectory - the target directory

getDocumentTemplate

public Document getDocumentTemplate(String templateName)


Copyright © 2009–2015. All rights reserved.