org.apache.maven.continuum.utils
Class DefaultWorkingDirectoryService

java.lang.Object
  extended by org.apache.maven.continuum.utils.DefaultWorkingDirectoryService
All Implemented Interfaces:
WorkingDirectoryService

@Service(value="workingDirectoryService")
public class DefaultWorkingDirectoryService
extends Object
implements WorkingDirectoryService

Version:
$Id: DefaultWorkingDirectoryService.java 1372260 2012-08-13 04:29:09Z brett $
Author:
Trygve Laugstøl

Field Summary
 
Fields inherited from interface org.apache.maven.continuum.utils.WorkingDirectoryService
ROLE
 
Constructor Summary
DefaultWorkingDirectoryService()
           
 
Method Summary
 ConfigurationService getConfigurationService()
           
 File getWorkingDirectory(Project project)
           
 File getWorkingDirectory(Project project, boolean shouldSet)
           
 File getWorkingDirectory(Project project, String projectScmRoot, List<Project> projects)
           
 File getWorkingDirectory(Project project, String projectScmRoot, List<Project> projects, boolean shouldSet)
           
 void setConfigurationService(ConfigurationService configurationService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultWorkingDirectoryService

public DefaultWorkingDirectoryService()
Method Detail

setConfigurationService

public void setConfigurationService(ConfigurationService configurationService)

getConfigurationService

public ConfigurationService getConfigurationService()

getWorkingDirectory

public File getWorkingDirectory(Project project)
Specified by:
getWorkingDirectory in interface WorkingDirectoryService

getWorkingDirectory

public File getWorkingDirectory(Project project,
                                boolean shouldSet)
Specified by:
getWorkingDirectory in interface WorkingDirectoryService

getWorkingDirectory

public File getWorkingDirectory(Project project,
                                String projectScmRoot,
                                List<Project> projects)
Specified by:
getWorkingDirectory in interface WorkingDirectoryService
Parameters:
project -
projectScmRoot -
projects - projects under the same projectScmRoot
Returns:

getWorkingDirectory

public File getWorkingDirectory(Project project,
                                String projectScmRoot,
                                List<Project> projects,
                                boolean shouldSet)
Specified by:
getWorkingDirectory in interface WorkingDirectoryService
Parameters:
project -
projectScmRoot -
projects - projects under the same projectScmRoot
shouldSet -
Returns:


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.