Class StandardPluginBranding
- java.lang.Object
-
- org.spongepowered.plugin.metadata.builtin.model.StandardPluginBranding
-
- All Implemented Interfaces:
PluginBranding
public final class StandardPluginBranding extends Object implements PluginBranding
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStandardPluginBranding.Builderstatic classStandardPluginBranding.Deserializerstatic classStandardPluginBranding.Serializer
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StandardPluginBranding.Builderbuilder()Optional<String>icon()Gets theStringthat represents the location of the icon.Optional<String>logo()Gets theStringthat represents the location of the logo.static StandardPluginBrandingnone()StandardPluginBranding.BuildertoBuilder()StringtoString()
-
-
-
Method Detail
-
builder
public static StandardPluginBranding.Builder builder()
-
none
public static StandardPluginBranding none()
-
logo
public Optional<String> logo()
Description copied from interface:PluginBrandingGets theStringthat represents the location of the logo.Consult the vendor on the composition of this value. For example, it could be an absolute path or relative path (commonly fed to a
FileorPath), or a serializedURI.- Specified by:
logoin interfacePluginBranding- Returns:
- The icon or
Optional.empty()otherwise
-
icon
public Optional<String> icon()
Description copied from interface:PluginBrandingGets theStringthat represents the location of the icon.Consult the vendor on the composition of this value. For example, it could be an absolute path or relative path (commonly fed to a
FileorPath), or a serializedURI.- Specified by:
iconin interfacePluginBranding- Returns:
- The icon or
Optional.empty()otherwise
-
toBuilder
public StandardPluginBranding.Builder toBuilder()
-
-