Class HasMapValue

    • Field Detail

      • m_StorageName

        protected StorageName m_StorageName
        the name of the java.util.Map object in internal storage.
      • m_Key

        protected String m_Key
        the key in the Map object to check.
    • Constructor Detail

      • HasMapValue

        public HasMapValue()
    • Method Detail

      • setStorageName

        public void setStorageName​(StorageName value)
        Sets the name of the Map object in storage to check.
        Parameters:
        value - the name
      • getStorageName

        public StorageName getStorageName()
        Returns the name of the Map object in storage to check.
        Returns:
        the name
      • storageNameTipText

        public String storageNameTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setKey

        public void setKey​(String value)
        Sets the key of the value to check.
        Parameters:
        value - the key
      • getKey

        public String getKey()
        Returns the key of the value to check.
        Returns:
        the key
      • keyTipText

        public String keyTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • doEvaluate

        protected boolean doEvaluate​(Actor owner,
                                     Token token)
        Performs the actual evaluation.
        Specified by:
        doEvaluate in class AbstractBooleanCondition
        Parameters:
        owner - the owning actor
        token - the current token passing through
        Returns:
        the result of the evaluation