Class HasMessages

java.lang.Object
nz.org.riskscape.engine.i18n.HasMessages
All Implemented Interfaces:
PluginFeature

public class HasMessages extends Object implements PluginFeature

Feature interface for plugins to indicate they have i18n message bundles on their classpath. So far this is just used by Messages#getKnownBundleNames(nz.org.riskscape.engine.Engine) to support the i18n command supporting translators

  • Constructor Details

    • HasMessages

      public HasMessages(String bundleName)
  • Method Details

    • getBundleName

      public String getBundleName()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object