org.apache.hivemind
Class SymbolSourceContribution

java.lang.Object
  extended by org.apache.hivemind.SymbolSourceContribution
All Implemented Interfaces:
Orderable

public class SymbolSourceContribution
extends java.lang.Object
implements Orderable

Contribution to the org.apache.hivemind.SymbolSource configuration extension point; used to provide a SymbolSource implementation (often, as a service defined in HiveMind itself), and advice on ordering the service.

Author:
Howard Lewis Ship

Constructor Summary
SymbolSourceContribution()
           
 
Method Summary
 java.lang.String getFollowingNames()
          Returns a comma-seperated list of the names of other items.
 java.lang.String getName()
          Returns the name of the item, which is used to establish sort order.
 java.lang.String getPrecedingNames()
          As Orderable.getFollowingNames(), but the identified items will precede this item.
 SymbolSource getSource()
           
 void setFollowingNames(java.lang.String string)
           
 void setName(java.lang.String string)
           
 void setPrecedingNames(java.lang.String string)
           
 void setSource(SymbolSource source)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SymbolSourceContribution

public SymbolSourceContribution()
Method Detail

getSource

public SymbolSource getSource()

setSource

public void setSource(SymbolSource source)

getFollowingNames

public java.lang.String getFollowingNames()
Description copied from interface: Orderable
Returns a comma-seperated list of the names of other items. This item will precede all such items. The special value * indicates that the item should precede all items.

Specified by:
getFollowingNames in interface Orderable
Returns:
the list, the value *, or null

getName

public java.lang.String getName()
Description copied from interface: Orderable
Returns the name of the item, which is used to establish sort order.

Specified by:
getName in interface Orderable

getPrecedingNames

public java.lang.String getPrecedingNames()
Description copied from interface: Orderable
As Orderable.getFollowingNames(), but the identified items will precede this item.

Specified by:
getPrecedingNames in interface Orderable

setFollowingNames

public void setFollowingNames(java.lang.String string)

setName

public void setName(java.lang.String string)

setPrecedingNames

public void setPrecedingNames(java.lang.String string)