| Modifier and Type | Method and Description |
|---|---|
static String |
MetaInfUtils.getClasspathResource(ProjectIdentifier project,
MetaInfGroup group)
classpath:META-INF/org/kuali/util/kuali-util/[group].resources |
static String |
MetaInfUtils.getClasspathResource(ProjectIdentifier project,
com.google.common.base.Optional<String> qualifier,
com.google.common.base.Optional<MetaInfDataLocation> location,
com.google.common.base.Optional<MetaInfDataType> type,
String filename)
classpath:META-INF/org/kuali/util/kuali-util/[qualifier]/[filename].resources where [qualifier], [location], and |
static String |
MetaInfUtils.getClasspathResource(ProjectIdentifier project,
String filename)
classpath:META-INF/org/kuali/util/kuali-util/[filename].resources |
static String |
MetaInfUtils.getClasspathResource(ProjectIdentifier project,
String qualifier,
MetaInfGroup group)
classpath:META-INF/org/kuali/util/kuali-util/[qualifier]/[group].resources |
static String |
MetaInfUtils.getClasspathResource(ProjectIdentifier project,
String qualifier,
String filename)
classpath:META-INF/org/kuali/util/kuali-util/[qualifier]/[filename].resources |
static String |
MetaInfUtils.getClasspathResourcePrefix(ProjectIdentifier project)
classpath:META-INF/org/kuali/util/kuali-util |
static List<String> |
MetaInfUtils.getPatternedClasspathResources(ProjectIdentifier project,
com.google.common.base.Optional<String> qualifier,
com.google.common.base.Optional<MetaInfDataLocation> location,
com.google.common.base.Optional<MetaInfDataType> type,
String filename)
List of
classpath:META-INF/org/kuali/util/kuali-util/[qualifier]/[location]/[type]/[filename].resources where [qualifier], [location],
and [qualifier] and [filename] can contain an Ant-style pattern |
static List<String> |
MetaInfUtils.getPatternedClasspathResources(ProjectIdentifier project,
String filename)
List of
classpath:META-INF/org/kuali/util/kuali-util/[filename].resources where [filename] can contain an Ant-style pattern |
static List<String> |
MetaInfUtils.getPatternedClasspathResources(ProjectIdentifier project,
String qualifier,
MetaInfGroup group)
List of
classpath:META-INF/org/kuali/util/kuali-util/[qualifier]/[group].resources where [qualifier] can contain an Ant-style pattern |
static List<String> |
MetaInfUtils.getPatternedClasspathResources(ProjectIdentifier project,
String qualifier,
String filename)
List of
classpath:META-INF/org/kuali/util/kuali-util/[qualifier]/[filename].resources where [qualifier] and [filename] can contain an
Ant-style pattern |
static List<String> |
MetaInfUtils.getQualifiers(File baseDirectory,
ProjectIdentifier project,
List<String> includes,
List<String> excludes) |
static String |
MetaInfUtils.getResourcePrefix(ProjectIdentifier project)
META-INF/org/kuali/util/kuali-util |
| Modifier and Type | Field and Description |
|---|---|
static ProjectIdentifier |
KualiUtilProjectConstants.KUALI_UTIL_PID |
static ProjectIdentifier |
KualiUtilProjectConstants.PROJECT_ID
Deprecated.
Use KUALI_UTIL_PID instead
|
| Modifier and Type | Method and Description |
|---|---|
static ProjectIdentifier |
ProjectUtils.getIdentifier(String projectId)
Convert a project id into a
ProjectIdentifier's
Example project id: |
| Modifier and Type | Method and Description |
|---|---|
static List<ProjectIdentifier> |
ProjectUtils.getIdentifiers(List<String> projectIds)
Convert a list of project ids into a list of
ProjectIdentifier's
Example project id: |
| Modifier and Type | Method and Description |
|---|---|
static String |
ProjectUtils.getClasspathPrefix(ProjectIdentifier project)
Return a classpath prefix.
|
static String |
ProjectUtils.getClasspathResource(ProjectIdentifier project,
String filename)
classpath:org/kuali/common/kuali-util/myfile.txt
|
Project |
ProjectService.getProject(ProjectIdentifier identifier)
Create a
Project from identifier |
Project |
DefaultProjectService.getProject(ProjectIdentifier identifier) |
static String |
ProjectUtils.getResourcePath(ProjectIdentifier pid)
Return a resource friendly prefix.
|
| Modifier and Type | Method and Description |
|---|---|
ProjectIdentifier |
ProjectResource.getProject() |
ProjectIdentifier |
FeatureIdentifier.getProject()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static ProjectResource.Builder |
ProjectResource.builder(ProjectIdentifier project,
String path) |
static ProjectResource |
ProjectResource.classpath(ProjectIdentifier project,
String path)
Create a
ProjectResource with the prefix set to classpath: |
static ProjectResource |
ProjectResource.classpath(ProjectIdentifier project,
String path,
boolean metainf)
Create a
ProjectResource with the prefix set to classpath: or classpath:META-INF/ |
static ProjectResource |
ProjectResource.create(ProjectIdentifier project,
String path)
Create a
ProjectResource with the prefix set to classpath: |
static ProjectResource |
ProjectResource.create(String prefix,
ProjectIdentifier project,
String path)
Create a
ProjectResource with the corresponding prefix |
static ProjectResource |
ProjectResource.directory(File directory,
ProjectIdentifier project,
String path)
Create a
ProjectResource with the prefix set to directory |
static ProjectResource |
ProjectResource.directory(File directory,
ProjectIdentifier project,
String path,
boolean metainf)
Create a
ProjectResource with the prefix set to directory and optionally further prefixed with META-INF |
| Constructor and Description |
|---|
FeatureIdentifier(ProjectIdentifier project,
String featureId)
Deprecated.
|
ImmutableProject(ProjectIdentifier identifier,
String version,
Properties properties) |
ProjectResource.Builder(ProjectIdentifier project,
String path) |
| Modifier and Type | Method and Description |
|---|---|
ProjectIdentifier |
ProjectIdentifierConfig.projectIdentifier() |
| Modifier and Type | Method and Description |
|---|---|
Location |
DefaultPropertiesLocationService.getLocation(ProjectIdentifier identifier,
String filename) |
Location |
PropertiesLocationService.getLocation(ProjectIdentifier identifier,
String filename) |
List<Location> |
DefaultPropertiesLocationService.getLocations(ProjectIdentifier identifier,
List<String> filenames) |
List<Location> |
PropertiesLocationService.getLocations(ProjectIdentifier identifier,
List<String> filenames) |
List<Location> |
DefaultPropertiesLocationService.getLocations(ProjectIdentifier identifier,
String... filenames) |
List<Location> |
PropertiesLocationService.getLocations(ProjectIdentifier identifier,
String... filenames) |
| Modifier and Type | Method and Description |
|---|---|
protected DirRequest |
ScmProjectConfig.getDirRequest(ProjectIdentifier identifier,
File stagingDir,
File relativeDir,
List<String> includes,
List<String> excludes) |
Copyright © 2010–2014 The Kuali Foundation. All rights reserved.