Interface ConfigItem

All Superinterfaces:
Prototype.Api
All Known Implementing Classes:
ConfigItem.BuilderBase.ConfigItemImpl

public interface ConfigItem extends Prototype.Api
Configuration item policy. Contains information about the given item to improve its handling.
See Also:
  • Method Details Link icon

    • builder Link icon

      static ConfigItem.Builder builder()
      Create a new fluent API builder to customize configuration.
      Returns:
      a new builder
    • builder Link icon

      static ConfigItem.Builder builder(ConfigItem instance)
      Create a new fluent API builder from an existing instance.
      Parameters:
      instance - an existing instance used as a base for the builder
      Returns:
      a builder based on an instance
    • create Link icon

      static ConfigItem create()
      Create a new instance with default values.
      Returns:
      a new instance
    • cacheItem Link icon

      boolean cacheItem()
      Whether to cache this handled config item or not. If overall caching is disabled, this will not turn it on even if set to true.
      Returns:
      whether to cache handled config item
    • item Link icon

      String item()
      Handled config item.
      Returns:
      config item