com.atlassian.confluence.plugin.descriptor
Class OutputDeviceTypeMacroModuleDescriptorPredicate

java.lang.Object
  extended by com.atlassian.confluence.plugin.descriptor.OutputDeviceTypeMacroModuleDescriptorPredicate
All Implemented Interfaces:
com.atlassian.plugin.predicate.ModuleDescriptorPredicate<Macro>

public class OutputDeviceTypeMacroModuleDescriptorPredicate
extends Object
implements com.atlassian.plugin.predicate.ModuleDescriptorPredicate<Macro>

A predicate that passes XhtmlMacroModuleDescriptors for specific device-types


Constructor Summary
OutputDeviceTypeMacroModuleDescriptorPredicate(Set<String> deviceTypes)
           
 
Method Summary
 boolean matches(com.atlassian.plugin.ModuleDescriptor<? extends Macro> moduleDescriptor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutputDeviceTypeMacroModuleDescriptorPredicate

public OutputDeviceTypeMacroModuleDescriptorPredicate(Set<String> deviceTypes)
Method Detail

matches

public boolean matches(com.atlassian.plugin.ModuleDescriptor<? extends Macro> moduleDescriptor)
Specified by:
matches in interface com.atlassian.plugin.predicate.ModuleDescriptorPredicate<Macro>


Copyright © 2003-2013 Atlassian. All Rights Reserved.