Package org.java.plugin.tools.mocks
Class MockManifestInfo
java.lang.Object
org.java.plugin.tools.mocks.MockManifestInfo
- All Implemented Interfaces:
ManifestInfo
- Version:
- $Id: MockManifestInfo.java,v 1.1 2007/02/06 16:25:16 ddimon Exp $
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()
setMatchingRule
(MatchingRule value) setPluginId
(String value) setPluginVersion
(Version value) setVersion
(Version value)
-
Constructor Details
-
MockManifestInfo
public MockManifestInfo()
-
-
Method Details
-
getId
- Specified by:
getId
in interfaceManifestInfo
- Returns:
- plug-in or plug-in fragment identifier
- See Also:
-
setId
- Parameters:
value
- the id to set- Returns:
- this instance
-
getMatchingRule
- Specified by:
getMatchingRule
in interfaceManifestInfo
- Returns:
- plug-in version matching rule or
null
if this info is for plug-in manifest - See Also:
-
setMatchingRule
- Parameters:
value
- the matching rule to set- Returns:
- this instance
-
getPluginId
- Specified by:
getPluginId
in interfaceManifestInfo
- Returns:
- plug-in identifier this, fragment contributes to or
null
if this info is for plug-in manifest - See Also:
-
setPluginId
- Parameters:
value
- the plug-in id to set- Returns:
- this instance
-
getPluginVersion
- Specified by:
getPluginVersion
in interfaceManifestInfo
- Returns:
- plug-in version identifier, this fragment contributes to or
null
if this info is for plug-in manifest - See Also:
-
setPluginVersion
- Parameters:
value
- the plug-in version to set- Returns:
- this instance
-
getVendor
- Specified by:
getVendor
in interfaceManifestInfo
- Returns:
- plug-in or plug-in fragment vendor
- See Also:
-
setVendor
- Parameters:
value
- the vendor to set- Returns:
- this instance
-
getVersion
- Specified by:
getVersion
in interfaceManifestInfo
- Returns:
- plug-in or plug-in fragment version identifier
- See Also:
-
setVersion
- Parameters:
value
- the version to set- Returns:
- this instance
-