|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ModuleDescriptor
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_CONFIGURATION
|
Method Summary | |
---|---|
boolean |
dependsOn(ModuleDescriptor md)
Returns true if the module described by this descriptor dependes directly upon the given module descriptor |
Artifact[] |
getArtifacts(java.lang.String conf)
|
Configuration |
getConfiguration(java.lang.String confName)
|
Configuration[] |
getConfigurations()
Returns all the configurations declared by this module as an array. |
java.lang.String[] |
getConfigurationsNames()
|
ConflictManager |
getConflictManager(ModuleId id)
Returns the conflict manager to use for the given ModuleId |
DependencyDescriptor[] |
getDependencies()
|
java.lang.String |
getHomePage()
|
long |
getLastModified()
|
License[] |
getLicenses()
Returns the licenses of the module described by this descriptor |
ModuleRevisionId |
getModuleRevisionId()
|
java.util.Date |
getPublicationDate()
may be null if unknown in the descriptor itself |
java.lang.String[] |
getPublicConfigurationsNames()
|
ModuleRevisionId |
getResolvedModuleRevisionId()
The module revision id returned here is the resolved one, i.e. |
java.util.Date |
getResolvedPublicationDate()
the publication date of the module revision should be the date at which it has been published, i.e. |
java.lang.String |
getStatus()
|
boolean |
isDefault()
Returns true if this descriptor is a default one, i.e. |
void |
setResolvedModuleRevisionId(ModuleRevisionId revId)
This method update the resolved module revision id |
void |
setResolvedPublicationDate(java.util.Date publicationDate)
This method update the resolved publication date |
Field Detail |
---|
static final java.lang.String DEFAULT_CONFIGURATION
Method Detail |
---|
boolean isDefault()
ModuleRevisionId getModuleRevisionId()
ModuleRevisionId getResolvedModuleRevisionId()
void setResolvedModuleRevisionId(ModuleRevisionId revId)
revId
- void setResolvedPublicationDate(java.util.Date publicationDate)
publicationDate
- java.lang.String getStatus()
java.util.Date getPublicationDate()
java.util.Date getResolvedPublicationDate()
Configuration[] getConfigurations()
java.lang.String[] getConfigurationsNames()
java.lang.String[] getPublicConfigurationsNames()
Artifact[] getArtifacts(java.lang.String conf)
DependencyDescriptor[] getDependencies()
boolean dependsOn(ModuleDescriptor md)
md
-
Configuration getConfiguration(java.lang.String confName)
confName
-
ConflictManager getConflictManager(ModuleId id)
id
-
License[] getLicenses()
java.lang.String getHomePage()
long getLastModified()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |