public class MockPluginPrerequisite extends MockPluginElement<PluginPrerequisite> implements PluginPrerequisite
Constructor and Description |
---|
MockPluginPrerequisite() |
Modifier and Type | Method and Description |
---|---|
MatchingRule |
getMatchingRule() |
java.lang.String |
getPluginId() |
Version |
getPluginVersion() |
java.lang.String |
getUniqueId() |
boolean |
isExported() |
boolean |
isOptional() |
boolean |
isReverseLookup() |
boolean |
matches() |
MockPluginPrerequisite |
setExported(boolean value) |
MockPluginPrerequisite |
setMatches(boolean value) |
MockPluginPrerequisite |
setMatchingRule(MatchingRule value) |
MockPluginPrerequisite |
setOptional(boolean value) |
MockPluginPrerequisite |
setPluginId(java.lang.String value) |
MockPluginPrerequisite |
setPluginVersion(Version value) |
MockPluginPrerequisite |
setReverseLookup(boolean value) |
getDeclaringPluginDescriptor, getDeclaringPluginFragment, getDocsPath, getDocumentation, setDeclaringPluginDescriptor, setDeclaringPluginFragment, setDocsPath, setDocumentation
getId, setId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDeclaringPluginDescriptor, getDeclaringPluginFragment
getDocsPath, getDocumentation
public java.lang.String getPluginId()
getPluginId
in interface PluginPrerequisite
PluginPrerequisite.getPluginId()
public MockPluginPrerequisite setPluginId(java.lang.String value)
value
- the plug-in id to setpublic Version getPluginVersion()
getPluginVersion
in interface PluginPrerequisite
null
if not specifiedPluginPrerequisite.getPluginVersion()
public MockPluginPrerequisite setPluginVersion(Version value)
value
- the plug-in version to setpublic boolean isExported()
isExported
in interface PluginPrerequisite
true
if this prerequisite is propagated
on depending plug-insPluginPrerequisite.isExported()
public MockPluginPrerequisite setExported(boolean value)
value
- the exported flag to setpublic boolean isOptional()
isOptional
in interface PluginPrerequisite
true
if this prerequisite is not requiredPluginPrerequisite.isOptional()
public MockPluginPrerequisite setOptional(boolean value)
value
- the optional flag to setpublic boolean isReverseLookup()
isReverseLookup
in interface PluginPrerequisite
true
if this prerequisite allows reverse look up of
classes in imported plug-inPluginPrerequisite.isReverseLookup()
public MockPluginPrerequisite setReverseLookup(boolean value)
value
- the reverse look-up flag to setpublic boolean matches()
matches
in interface PluginPrerequisite
true
if this prerequisite is fulfilledPluginPrerequisite.matches()
public MockPluginPrerequisite setMatches(boolean value)
value
- the matches flag to setpublic MatchingRule getMatchingRule()
getMatchingRule
in interface PluginPrerequisite
PluginPrerequisite.getMatchingRule()
public MockPluginPrerequisite setMatchingRule(MatchingRule value)
value
- the matchingRule to setpublic java.lang.String getUniqueId()
getUniqueId
in interface UniqueIdentity
UniqueIdentity.getUniqueId()
Copyright © 2004-2007 Dmitry Olshansky. All Rights Reserved.