org.springframework.roo.classpath.operations
Class ClasspathCommands

java.lang.Object
  extended by org.springframework.roo.classpath.operations.ClasspathCommands
All Implemented Interfaces:
org.springframework.roo.shell.CommandMarker

@Service
public class ClasspathCommands
extends Object
implements org.springframework.roo.shell.CommandMarker

Shell commands for ClasspathOperationsImpl.

Since:
1.0
Author:
Ben Alex, Alan Stewart

Constructor Summary
ClasspathCommands()
           
 
Method Summary
protected  void activate(org.osgi.service.component.ComponentContext context)
           
 void createClass(org.springframework.roo.model.JavaType name, boolean rooAnnotations, org.springframework.roo.project.Path path, org.springframework.roo.model.JavaType superclass, boolean createAbstract, boolean permitReservedWords)
           
 void createEnum(org.springframework.roo.model.JavaType name, org.springframework.roo.project.Path path, boolean permitReservedWords)
           
 void createInterface(org.springframework.roo.model.JavaType name, org.springframework.roo.project.Path path, boolean permitReservedWords)
           
protected  void deactivate(org.osgi.service.component.ComponentContext context)
           
 void enumConstant(org.springframework.roo.model.JavaType name, org.springframework.roo.model.JavaSymbolName fieldName, boolean permitReservedWords)
           
 void focus(org.springframework.roo.model.JavaType typeName)
           
 boolean isPersistentClassAvailable()
           
 boolean isProjectAvailable()
           
 void newDod(org.springframework.roo.model.JavaType entity, org.springframework.roo.model.JavaType clazz, boolean permitReservedWords)
           
 void newIntegrationTest(org.springframework.roo.model.JavaType entity, boolean permitReservedWords)
           
 void newPersistenceClassJpa(org.springframework.roo.model.JavaType name, org.springframework.roo.model.JavaType superclass, boolean createAbstract, boolean testAutomatically, String table, String identifierField, String identifierColumn, org.springframework.roo.model.JavaType identifierType, InheritanceType inheritanceType, boolean mappedSuperclass, boolean serializable, boolean permitReservedWords)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClasspathCommands

public ClasspathCommands()
Method Detail

activate

protected void activate(org.osgi.service.component.ComponentContext context)

deactivate

protected void deactivate(org.osgi.service.component.ComponentContext context)

isProjectAvailable

public boolean isProjectAvailable()

isPersistentClassAvailable

public boolean isPersistentClassAvailable()

focus

public void focus(org.springframework.roo.model.JavaType typeName)

createClass

public void createClass(org.springframework.roo.model.JavaType name,
                        boolean rooAnnotations,
                        org.springframework.roo.project.Path path,
                        org.springframework.roo.model.JavaType superclass,
                        boolean createAbstract,
                        boolean permitReservedWords)

createInterface

public void createInterface(org.springframework.roo.model.JavaType name,
                            org.springframework.roo.project.Path path,
                            boolean permitReservedWords)

createEnum

public void createEnum(org.springframework.roo.model.JavaType name,
                       org.springframework.roo.project.Path path,
                       boolean permitReservedWords)

enumConstant

public void enumConstant(org.springframework.roo.model.JavaType name,
                         org.springframework.roo.model.JavaSymbolName fieldName,
                         boolean permitReservedWords)

newDod

public void newDod(org.springframework.roo.model.JavaType entity,
                   org.springframework.roo.model.JavaType clazz,
                   boolean permitReservedWords)

newIntegrationTest

public void newIntegrationTest(org.springframework.roo.model.JavaType entity,
                               boolean permitReservedWords)

newPersistenceClassJpa

public void newPersistenceClassJpa(org.springframework.roo.model.JavaType name,
                                   org.springframework.roo.model.JavaType superclass,
                                   boolean createAbstract,
                                   boolean testAutomatically,
                                   String table,
                                   String identifierField,
                                   String identifierColumn,
                                   org.springframework.roo.model.JavaType identifierType,
                                   InheritanceType inheritanceType,
                                   boolean mappedSuperclass,
                                   boolean serializable,
                                   boolean permitReservedWords)


Copyright © 2009-2010 VMware, Inc. All Rights Reserved.