public class ComponentPlugin<T>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.ClassLoader |
classLoader |
protected java.lang.String |
description |
protected java.lang.String |
details |
protected boolean |
enabledByDefault |
protected java.lang.String |
id |
protected Plugin |
plugin |
protected PropertyBundle |
properties |
protected java.lang.String |
shortId |
Constructor and Description |
---|
ComponentPlugin(Plugin plugin,
java.lang.String id,
java.lang.ClassLoader classLoader,
java.lang.Class<? extends T> componentClass,
PropertyBundle properties,
boolean enabledByDefault,
java.lang.String description,
java.lang.String details) |
Modifier and Type | Method and Description |
---|---|
java.lang.ClassLoader |
getClassLoader() |
java.lang.Class<? extends T> |
getComponentClass() |
java.lang.String |
getDescription() |
java.lang.String |
getDetails() |
java.lang.String |
getId() |
Plugin |
getPlugin() |
PropertyBundle |
getProperties() |
boolean |
isAvailable() |
boolean |
isEnabledByDefault() |
boolean |
isNamed(java.util.Set<java.lang.String> names) |
java.lang.String |
toString() |
protected final Plugin plugin
protected final java.lang.String id
protected final java.lang.String shortId
protected final java.lang.ClassLoader classLoader
protected final PropertyBundle properties
protected final java.lang.String description
protected final java.lang.String details
protected final boolean enabledByDefault
public ComponentPlugin(Plugin plugin, java.lang.String id, java.lang.ClassLoader classLoader, java.lang.Class<? extends T> componentClass, PropertyBundle properties, boolean enabledByDefault, java.lang.String description, java.lang.String details)
public java.lang.String getId()
public java.lang.ClassLoader getClassLoader()
public boolean isEnabledByDefault()
public PropertyBundle getProperties()
public java.lang.String getDescription()
public java.lang.String getDetails()
public java.lang.String toString()
toString
in class java.lang.Object
public Plugin getPlugin()
public boolean isNamed(java.util.Set<java.lang.String> names)
public java.lang.Class<? extends T> getComponentClass()
public boolean isAvailable()
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.