public final class ComponentLibraryInfo extends Object implements Serializable
LibraryMapping
,
ComponentLibraryInfo.SourceUrlResolver
,
Serialized FormModifier and Type | Class and Description |
---|---|
static class |
ComponentLibraryInfo.DefaultSourceUrlResolver
Default
ComponentLibraryInfo.SourceUrlResolver implementation. |
static interface |
ComponentLibraryInfo.SourceUrlResolver
Interface that provides the source URL for a given
ComponentLibraryInfo . |
Constructor and Description |
---|
ComponentLibraryInfo() |
Modifier and Type | Method and Description |
---|---|
String |
getArtifactId()
Returns the component library's group id for dependency management tools like Maven and Gradle.
|
String |
getDependencyManagementInfoUrl()
Returns an URL decribing the dependency management information for this component library.
|
String |
getDescription()
Returns a description of the component library.
|
String |
getDocumentationUrl()
Returns the URL of the component library's documentation.
|
String |
getGroupId()
Returns the component library's group id for dependency management tools like Maven and Gradle.
|
String |
getHomepageUrl()
Returns the URL of the homepage of the component library.
|
String |
getIssueTrackerUrl()
Returns the URL of the component's library issue tracker.
|
String |
getJavadocUrl()
Returns the URL of the component library's JavaDoc URL.
|
String |
getJavadocUrl(String className)
Returns the JavaDoc URL for a given class or
null if the root JavaDoc URL was
not provided. |
String |
getName()
Returns the actual name of the component library (not the identifier).
|
String |
getSourceBrowseUrl()
Returns the URL where the component library's source can be browsed.
|
String |
getSourceRootUrl()
Returns the URL where the root folder of component library's source can be found.
|
String |
getSourceUrl(String className)
Returns the URL where the source of this class can be found or
null if
not available. |
List<String> |
getTags()
Returns the tags associated which describe this component library.
|
String |
getTapestryVersion()
Returns the Tapestry version used by this component library.
|
String |
getVersion()
Returns the component library version.
|
boolean |
isDependencyManagementInfoPresent()
Tells whether full dependency management info (group id, artifact id and version) are present.
|
boolean |
isPart(String logicalName)
Given a logical name, tells whether a given component, page or mixin is part of this
component library.
|
void |
setArtifactId(String artifactId) |
void |
setDescription(String description) |
void |
setDocumentationUrl(String documentationUrl) |
void |
setGroupId(String groupId) |
void |
setHomepageUrl(String homepageUrl) |
void |
setIssueTrackerUrl(String issueTrackingUrl) |
void |
setJavadocUrl(String javadocUrl) |
void |
setLibraryMapping(LibraryMapping libraryMapping) |
void |
setName(String name) |
void |
setSourceBrowseUrl(String sourceBrowseUrl) |
void |
setSourceRootUrl(String sourceRootUrl) |
void |
setSourceUrlResolver(ComponentLibraryInfo.SourceUrlResolver sourceUrlResolver) |
void |
setTags(List<String> tags) |
void |
setTapestryVersion(String tapestryVersion) |
void |
setVersion(String version) |
String |
toString() |
public ComponentLibraryInfo()
public String getName()
public String getDescription()
public String getHomepageUrl()
public String getDocumentationUrl()
public String getSourceBrowseUrl()
public String getSourceRootUrl()
public String getIssueTrackerUrl()
public String getJavadocUrl()
public String getGroupId()
artifactId
,
version
public String getArtifactId()
public String getVersion()
artifactId
,
groupId
public String getTapestryVersion()
public List<String> getTags()
public String getDependencyManagementInfoUrl()
public void setDescription(String description)
public void setHomepageUrl(String homepageUrl)
public void setDocumentationUrl(String documentationUrl)
public void setSourceBrowseUrl(String sourceBrowseUrl)
public void setSourceRootUrl(String sourceRootUrl)
public void setJavadocUrl(String javadocUrl)
public void setVersion(String version)
public void setTapestryVersion(String tapestryVersion)
public void setGroupId(String groupId)
public void setArtifactId(String artifactId)
public void setIssueTrackerUrl(String issueTrackingUrl)
public void setLibraryMapping(LibraryMapping libraryMapping)
public void setSourceUrlResolver(ComponentLibraryInfo.SourceUrlResolver sourceUrlResolver)
public boolean isDependencyManagementInfoPresent()
public boolean isPart(String logicalName)
public String getJavadocUrl(String className)
null
if the root JavaDoc URL was
not provided.className
- the fully qualified class name.public String getSourceUrl(String className)
null
if
not available. This implementation delegates to ComponentLibraryInfo.SourceUrlResolver
if set.className
- the fully qualified class name.5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.