org.kuali.common.util.project
Class DefaultProjectService

java.lang.Object
  extended by org.kuali.common.util.project.DefaultProjectService
All Implemented Interfaces:
ProjectService

public class DefaultProjectService
extends Object
implements ProjectService


Constructor Summary
DefaultProjectService(EnvironmentService env)
           
 
Method Summary
protected  void clearCache()
           
 EnvironmentService getEnv()
           
 Project getProject(ProjectIdentifier identifier)
          Create a Project from identifier
 Project getProject(Properties properties)
          Deprecated. Use ProjectUtils.getProject(properties) instead
 Project getProject(String groupId, String artifactId)
          Create a Project from groupId and artifactId
protected  String getPropertiesFileLocation(String groupId, String artifactId)
           
protected  Project load(String groupId, String artifactId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultProjectService

public DefaultProjectService(EnvironmentService env)
Method Detail

getProject

@Deprecated
public Project getProject(Properties properties)
Deprecated. Use ProjectUtils.getProject(properties) instead

Description copied from interface: ProjectService
Create a Project from properties

Specified by:
getProject in interface ProjectService

getProject

public Project getProject(ProjectIdentifier identifier)
Description copied from interface: ProjectService
Create a Project from identifier

Specified by:
getProject in interface ProjectService

getProject

public Project getProject(String groupId,
                          String artifactId)
Description copied from interface: ProjectService
Create a Project from groupId and artifactId

Specified by:
getProject in interface ProjectService

clearCache

protected void clearCache()

load

protected Project load(String groupId,
                       String artifactId)

getPropertiesFileLocation

protected String getPropertiesFileLocation(String groupId,
                                           String artifactId)

getEnv

public EnvironmentService getEnv()


Copyright © 2010-2013 The Kuali Foundation. All Rights Reserved.