Class SystemPropertyCondition

java.lang.Object
games.stendhal.server.entity.npc.condition.SystemPropertyCondition
All Implemented Interfaces:
ChatCondition, PreTransitionCondition

@Dev(category=ENVIRONMENT, label="System?") public class SystemPropertyCondition extends Object implements ChatCondition
Is the specified system property set?
  • Constructor Details

    • SystemPropertyCondition

      public SystemPropertyCondition(String key)
      Creates a new SystemPropertyCondition
      Parameters:
      key - key to check
    • SystemPropertyCondition

      public SystemPropertyCondition(String key, String value)
      Creates a new SystemPropertyCondition
      Parameters:
      key - key to check
      value - value the key has to have.
  • Method Details