|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.common.util.ProjectUtils
public class ProjectUtils
Field Summary | |
---|---|
static String |
KUALI_COMMON_GROUP_ID
|
Constructor Summary | |
---|---|
ProjectUtils()
|
Method Summary | |
---|---|
static void |
clearProjectPropertiesCache()
Provide a way to clear the cache |
protected static String |
getBeanProperty(String key,
String startsWith)
|
static List<Dependency> |
getDependencies(String csv)
|
static String |
getGav(Project project)
|
static String |
getGav(ProjectContext context)
|
static String |
getGav(String groupId,
String artifactId)
|
static Project |
getProject(Properties properties)
Return a Project object by copying values from the properties object into a Project object. |
static Project |
getProject(String gav)
Create a skeleton Project object from the gav . |
static String |
getPropertiesFileLocation(Project project)
|
protected static Properties |
loadAndCache(Project project,
String gav)
|
static Project |
loadProject(ProjectContext context)
Create a Project object from the context . |
static Project |
loadProject(String gav)
Create a Project object from the gav . |
static ProjectProperties |
loadProjectProperties(ProjectContext context)
|
static Properties |
loadProperties(Project project)
|
static Properties |
loadProperties(String gav)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String KUALI_COMMON_GROUP_ID
Constructor Detail |
---|
public ProjectUtils()
Method Detail |
---|
public static ProjectProperties loadProjectProperties(ProjectContext context)
public static Project loadProject(ProjectContext context)
Project
object from the context
. This includes loading the corresponding project.properties
file from disk.
public static String getGav(ProjectContext context)
public static String getGav(Project project)
public static String getGav(String groupId, String artifactId)
public static Project loadProject(String gav)
Project
object from the gav
. This includes loading the corresponding project.properties
file from disk.
public static void clearProjectPropertiesCache()
public static Project getProject(String gav)
Project
object from the gav
. Nothing but the GAV info gets filled in. Does not read project.properties
from disk.
public static List<Dependency> getDependencies(String csv)
public static Project getProject(Properties properties)
Project
object by copying values from the properties
object into a Project
object.
protected static String getBeanProperty(String key, String startsWith)
public static Properties loadProperties(String gav)
public static Properties loadProperties(Project project)
protected static Properties loadAndCache(Project project, String gav)
public static String getPropertiesFileLocation(Project project)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |