Class ExtensionDescriptive
- java.lang.Object
-
- com.djrapitops.plan.extension.implementation.results.ExtensionDescriptive
-
- All Implemented Interfaces:
java.lang.Comparable<ExtensionDescriptive>
- Direct Known Subclasses:
ProviderInformation
public class ExtensionDescriptive extends java.lang.Object implements java.lang.Comparable<ExtensionDescriptive>
Describes information about an extension value given by a Provider method.
-
-
Constructor Summary
Constructors Constructor Description ExtensionDescriptive(java.lang.String name, java.lang.String text, java.lang.String description, Icon icon, int priority)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(ExtensionDescriptive other)
boolean
equals(java.lang.Object o)
java.util.Optional<java.lang.String>
getDescription()
Icon
getIcon()
java.lang.String
getName()
int
getPriority()
java.lang.String
getText()
int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
ExtensionDescriptive
public ExtensionDescriptive(java.lang.String name, java.lang.String text, java.lang.String description, Icon icon, int priority)
-
-
Method Detail
-
getName
public java.lang.String getName()
-
getText
public java.lang.String getText()
-
getDescription
public java.util.Optional<java.lang.String> getDescription()
-
getIcon
public Icon getIcon()
-
getPriority
public int getPriority()
-
compareTo
public int compareTo(ExtensionDescriptive other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<ExtensionDescriptive>
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-