net.sf.ant4eclipse.model.pdesupport.feature
Class FeatureManifest

java.lang.Object
  extended by net.sf.ant4eclipse.model.pdesupport.feature.FeatureManifest

public class FeatureManifest
extends java.lang.Object

A feature is a way of grouping and describing different functionality that makes up a product. Features do not contain any code. They merely describe a set of plug-ins that provide the function for the feature and information about how to update it. Features are packaged in a feature archive file and described using a feature manifest.


Nested Class Summary
static class FeatureManifest.Plugin
           
 
Constructor Summary
FeatureManifest()
          Creates a new instance of type Feature.
 
Method Summary
 java.lang.String getApplication()
          Returns the name of the application.
 java.lang.String getColocationAffinity()
          Returns a reference to another feature.
 java.lang.String getId()
           
 java.lang.String getImage()
          Returns the location of an associated image.
 java.lang.String getLabel()
           
 java.lang.String getLocale()
           
 java.lang.String getMachineArchitecture()
           
 java.lang.String getOperatingSystem()
           
 java.lang.String getPlugin()
          Returns the plugin used for this feature.
 FeatureManifest.Plugin[] getPlugins()
           
 java.lang.String getProviderName()
           
 Version getVersion()
           
 java.lang.String getWindowingSystem()
          Returns the name of the windowing system.
 boolean isExclusive()
           
 boolean isPrimary()
          Returns true if this feature is a primary one.
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FeatureManifest

public FeatureManifest()
Creates a new instance of type Feature.

Method Detail

getApplication

public java.lang.String getApplication()
Returns the name of the application.

Returns:
The name of the application.

getColocationAffinity

public java.lang.String getColocationAffinity()
Returns a reference to another feature.

Returns:
A reference to another feature.

isExclusive

public boolean isExclusive()
Returns:
flag that, if "true", indicates that the feature cannot be installed in a group with other features.

getId

public java.lang.String getId()
Returns:
feature identifier (eg. com.xyz.myfeature), required

getImage

public java.lang.String getImage()
Returns the location of an associated image.

Returns:
The location of an associated image.

getLocale

public java.lang.String getLocale()
Returns:
locale specification.

getMachineArchitecture

public java.lang.String getMachineArchitecture()
Returns:
optional machine architecture specification.

getOperatingSystem

public java.lang.String getOperatingSystem()
Returns:
operating system specification.

getPlugin

public java.lang.String getPlugin()
Returns the plugin used for this feature.

Returns:
The plugin used for this feature.

isPrimary

public boolean isPrimary()
Returns true if this feature is a primary one.

Returns:
true <=> This feature is a primary one.

getProviderName

public java.lang.String getProviderName()
Returns:
display label identifying the organization providing this component.

getVersion

public Version getVersion()
Returns:
component version (eg. 1.0.3), required

getWindowingSystem

public java.lang.String getWindowingSystem()
Returns the name of the windowing system.

Returns:
The name of the windowing system.

getLabel

public java.lang.String getLabel()
Returns:
displayable label (name).

getPlugins

public FeatureManifest.Plugin[] getPlugins()
Returns:
all the referenced plugins.

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object