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