Class ValueChangeTagScript

  • All Implemented Interfaces:
    CompiledTagScript

    public class ValueChangeTagScript
    extends AbstractTagScript
    This is the tag script for any change of value (including quality change).
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.python.core.PyObject[] buildArgumentsFor​(Tag source, TagPath sourcePath, java.lang.Object[] parameters, boolean overflow)
      Should return an array of pyobjects that will be used as arguments to the function.
      java.lang.String getId()
      The identifier for the script, usually indicating what event it responds to.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ValueChangeTagScript

        public ValueChangeTagScript​(java.lang.String id,
                                    FunctionInvoker m)
    • Method Detail

      • getId

        public java.lang.String getId()
        Description copied from interface: CompiledTagScript
        The identifier for the script, usually indicating what event it responds to.
      • buildArgumentsFor

        protected org.python.core.PyObject[] buildArgumentsFor​(Tag source,
                                                               TagPath sourcePath,
                                                               java.lang.Object[] parameters,
                                                               boolean overflow)
        Description copied from class: AbstractTagScript
        Should return an array of pyobjects that will be used as arguments to the function.
        Specified by:
        buildArgumentsFor in class AbstractTagScript