public class FeatureResourceBundle extends Object
| Constructor and Description |
|---|
FeatureResourceBundle() |
| Modifier and Type | Method and Description |
|---|---|
List<Advice> |
getAdviceFileContent()
Returns the list of advice files.
|
List<Bundle> |
getBundles()
Returns the bundles list included in the feature.
|
String |
getCopyright()
Returns the copyright of the feature.
|
String |
getDescription()
Returns the description of the feature.
|
String |
getId()
Returns the feature id being created.
|
List<Feature> |
getImportFeatures()
Returns the list of features that this feature depends on.
|
List<Feature> |
getIncludeFeatures()
Returns the list of features that is included in this feature.
|
String |
getLabel()
Returns the label of the feature.
|
String |
getLicence()
Returns the license text.
|
String |
getLicenceUrl()
Returns the licensce url of the feature.
|
org.apache.maven.artifact.repository.ArtifactRepository |
getLocalRepository()
Returns the LocalRepository injected by the maven runtime.
|
org.apache.maven.plugin.logging.Log |
getLog()
Returns the Log.
|
File |
getManifest()
Returns the manifest file of the feature.
|
org.apache.maven.project.MavenProject |
getProject()
Returns the maven project injected by the maven runtime.
|
org.apache.maven.project.MavenProjectHelper |
getProjectHelper()
Returns the maven project helper injected by the maven runtime.
|
Properties |
getProperties()
Returns the properties specified for the feature.
|
File |
getPropertyFile()
Returns the property file of the feature.
|
File |
getPropertyFileInResourceDir()
Returns the File object representing the feature.properties file expected to reside in src/main/resource
directory of the maven project.
|
String |
getProviderName()
Returns the provider name for the feature.
|
List<org.apache.maven.artifact.repository.ArtifactRepository> |
getRemoteRepositories()
Returns the remote repositories injected by the maven runtime.
|
org.apache.maven.repository.RepositorySystem |
getRepositorySystem()
Returns the RepositorySystem injected by the maven runtime.
|
String |
getVersion()
Returns the version of the feature being created.
|
void |
setAdviceFileContent(List<Advice> adviceFileContent)
Sets the list of advice files.
|
void |
setBundles(List<Bundle> bundles)
Sets the bundles list to be included in the feature.
|
void |
setCopyright(String copyright)
Sets the copyright of the feature.
|
void |
setDescription(String description)
Sets the description of the feature.
|
void |
setId(String id)
Sets the id of the feature being created.
|
void |
setImportFeatures(List<Feature> importFeatures)
Sets the list of features that this feature depends on.
|
void |
setIncludeFeatures(List<Feature> includedFeatures)
Sets the list of features that is to be included in this feature.
|
void |
setLabel(String label)
Sets the label of the feature.
|
void |
setLicence(String licence)
Sets the license text.
|
void |
setLicenceUrl(String licenceUrl)
Sets the license url of the feature.
|
void |
setLocalRepository(org.apache.maven.artifact.repository.ArtifactRepository localRepository)
Sets the LocalRepository injected by the maven runtime.
|
void |
setLog(org.apache.maven.plugin.logging.Log logger)
Sets the Log.
|
void |
setManifest(File manifest)
Sets the manifest file of the feature.
|
void |
setProject(org.apache.maven.project.MavenProject project)
Sets the maven project injected by the maven runtime.
|
void |
setProjectHelper(org.apache.maven.project.MavenProjectHelper projectHelper)
Sets the maven project helper injected by the maven runtime.
|
void |
setProperties(Properties properties)
Sets the properties for the feature.
|
void |
setPropertyFile(File propertiesFile)
Sets the property file of the feature.
|
void |
setProviderName(String providerName)
Sets the provider name of the feature.
|
void |
setRemoteRepositories(List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories)
Sets the remote repositories injected by the maven runtime.
|
void |
setRepositorySystem(org.apache.maven.repository.RepositorySystem repositorySystem)
Sets the RepositorySystem injected by the maven runtime.
|
void |
setVersion(String version)
Sets the version of the feature being created.
|
public String getId()
Stringpublic void setId(String id)
id - Stringpublic String getVersion()
Stringpublic void setVersion(String version)
version - Stringpublic String getLabel()
Stringpublic void setLabel(String label)
label - Stringpublic String getDescription()
Stringpublic void setDescription(String description)
description - Stringpublic String getProviderName()
Stringpublic void setProviderName(String providerName)
providerName - Stringpublic String getCopyright()
Stringpublic void setCopyright(String copyright)
copyright - Stringpublic String getLicenceUrl()
Stringpublic void setLicenceUrl(String licenceUrl)
licenceUrl - Stringpublic String getLicence()
Stringpublic void setLicence(String licence)
licence - Stringpublic void setManifest(File manifest)
manifest - Filepublic File getPropertyFile()
Filepublic void setPropertyFile(File propertiesFile)
propertiesFile - Filepublic Properties getProperties()
Propertiespublic void setProperties(Properties properties)
properties - Propertiespublic void setBundles(List<Bundle> bundles)
bundles - List<Bundle>public List<Bundle> getBundles()
List<Bundle>public List<Feature> getImportFeatures()
List<Feature>public void setImportFeatures(List<Feature> importFeatures)
importFeatures - List<Feature>public List<Feature> getIncludeFeatures()
List<Feature>public void setIncludeFeatures(List<Feature> includedFeatures)
includedFeatures - List<Feature>public List<Advice> getAdviceFileContent()
List<Advice>public void setAdviceFileContent(List<Advice> adviceFileContent)
adviceFileContent - List<Advice>public org.apache.maven.repository.RepositorySystem getRepositorySystem()
RepositorySystempublic void setRepositorySystem(org.apache.maven.repository.RepositorySystem repositorySystem)
repositorySystem - RepositorySystempublic org.apache.maven.artifact.repository.ArtifactRepository getLocalRepository()
ArtifactRepositorypublic void setLocalRepository(org.apache.maven.artifact.repository.ArtifactRepository localRepository)
localRepository - ArtifactRepositorypublic List<org.apache.maven.artifact.repository.ArtifactRepository> getRemoteRepositories()
ArtifactRepositorypublic void setRemoteRepositories(List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories)
remoteRepositories - ArtifactRepositorypublic org.apache.maven.project.MavenProject getProject()
MavenProjectpublic void setProject(org.apache.maven.project.MavenProject project)
project - MavenProjectpublic org.apache.maven.project.MavenProjectHelper getProjectHelper()
MavenProjectHelperpublic void setProjectHelper(org.apache.maven.project.MavenProjectHelper projectHelper)
projectHelper - MavenProjectHelperpublic void setLog(org.apache.maven.plugin.logging.Log logger)
logger - Logpublic org.apache.maven.plugin.logging.Log getLog()
LogCopyright © 2017 WSO2. All rights reserved.