org.jboss.osgi.resolver.spi
Class DirectiveSupporter

java.lang.Object
  extended by org.jboss.osgi.resolver.spi.DirectiveSupporter
All Implemented Interfaces:
XDirectiveSupport

public class DirectiveSupporter
extends Object
implements XDirectiveSupport

An implementation of XDirectiveSupport.

Since:
02-Jul-2010
Author:
thomas.diesler@jboss.com

Method Summary
 String getDirective(String key)
          Get the value of the given directive
 Map<String,String> getDirectives()
          Get the directives
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getDirective

public String getDirective(String key)
Description copied from interface: XDirectiveSupport
Get the value of the given directive

Specified by:
getDirective in interface XDirectiveSupport
Returns:
null if no such directive is associated with this capability

getDirectives

public Map<String,String> getDirectives()
Description copied from interface: XDirectiveSupport
Get the directives

Specified by:
getDirectives in interface XDirectiveSupport

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013 JBoss by Red Hat. All Rights Reserved.