|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.udo.cs.yale.tools.plugin.Dependency
public class Dependency
A plugin dependency defines the name and version of a desired plugin.
Field Summary | |
---|---|
private java.lang.String |
name
The name of the desired plugin. |
private java.lang.String |
version
The version of the desired plugin. |
Constructor Summary | |
---|---|
Dependency(java.lang.String name,
java.lang.String version)
Create a new plugin dependency. |
Method Summary | |
---|---|
java.lang.String |
getPluginName()
|
java.lang.String |
getPluginVersion()
|
boolean |
isFulfilled(java.util.List plugins)
Returns true if the list contains a plugin with the desired name and version. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private java.lang.String name
private java.lang.String version
Constructor Detail |
---|
public Dependency(java.lang.String name, java.lang.String version)
Method Detail |
---|
public boolean isFulfilled(java.util.List plugins)
public java.lang.String getPluginName()
public java.lang.String getPluginVersion()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |