Package org.spongepowered.plugin.builtin
Class StandardPluginCandidate<P extends PluginResource>
- java.lang.Object
-
- org.spongepowered.plugin.builtin.StandardPluginCandidate<P>
-
- All Implemented Interfaces:
PluginCandidate<P>
public final class StandardPluginCandidate<P extends PluginResource> extends Object implements PluginCandidate<P>
-
-
Constructor Summary
Constructors Constructor Description StandardPluginCandidate(org.spongepowered.plugin.metadata.PluginMetadata metadata, P resource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.spongepowered.plugin.metadata.PluginMetadata
metadata()
P
resource()
String
toString()
-
-
-
Constructor Detail
-
StandardPluginCandidate
public StandardPluginCandidate(org.spongepowered.plugin.metadata.PluginMetadata metadata, P resource)
-
-
Method Detail
-
metadata
public org.spongepowered.plugin.metadata.PluginMetadata metadata()
- Specified by:
metadata
in interfacePluginCandidate<P extends PluginResource>
- Returns:
- The
metadata
-
resource
public P resource()
- Specified by:
resource
in interfacePluginCandidate<P extends PluginResource>
- Returns:
- The
resource
-
-