Package com.almis.awe.developer.service
Class PathService
java.lang.Object
com.almis.awe.config.ServiceConfig
com.almis.awe.developer.service.PathService
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
Manage the development paths
- Author:
- agomez
-
Constructor Summary
ConstructorDescriptionPathService
(String developerPath, String developerPathFile, String developerPathProperty) Autowired constructor -
Method Summary
Modifier and TypeMethodDescriptionCheck if path file properties existsgetPath()
Check if path file properties existsCheck if path file properties existsUpdates user working directoryMethods inherited from class com.almis.awe.config.ServiceConfig
containsBean, getApplicationContext, getBean, getBean, getElements, getLocale, getLocale, getProperty, getProperty, getRequest, getSession, setApplicationContext
-
Constructor Details
-
PathService
Autowired constructor- Parameters:
developerPath
- Developer pathdeveloperPathFile
- Developer path filedeveloperPathProperty
- Developer path property
-
-
Method Details
-
checkPath
Check if path file properties exists- Returns:
- Service data
- Throws:
AWException
- Error checking path
-
getPropertiesFile
Check if path file properties exists- Returns:
- Path
- Throws:
AWException
- Error retrieving path
-
getPath
Check if path file properties exists- Returns:
- Path
- Throws:
AWException
- Error retrieving path
-
setPath
Updates user working directory- Parameters:
path
- Path- Returns:
- Service data
- Throws:
AWException
- Error setting path
-