Class StandardPluginDependency
java.lang.Object
org.spongepowered.plugin.metadata.builtin.model.StandardPluginDependency
- All Implemented Interfaces:
PluginDependency
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static final class
static final class
Nested classes/interfaces inherited from interface org.spongepowered.plugin.metadata.model.PluginDependency
PluginDependency.LoadOrder
-
Method Summary
-
Method Details
-
builder
Returns a newStandardPluginDependency.Builder
for creating a PluginDependency.- Returns:
- A builder
-
id
Description copied from interface:PluginDependency
Gets theid
.Ids must conform to the following requirements:
- Must be between 2 and 64 characters in length
- Must start with a lower case letter (a-z)
- May only contain a mix of lower case letters (a-z), numbers (0-9), dashes (-), and underscores (_)
- Specified by:
id
in interfacePluginDependency
- Returns:
- The id
-
version
- Specified by:
version
in interfacePluginDependency
- Returns:
- The
version
, as a maven range.
-
loadOrder
- Specified by:
loadOrder
in interfacePluginDependency
- Returns:
- The
load order
-
optional
public boolean optional()- Specified by:
optional
in interfacePluginDependency
- Returns:
- True if optional, false if not
-
toBuilder
-
hashCode
public int hashCode() -
equals
-
toString
-