Class ScriptPreFired


  • public class ScriptPreFired
    extends java.lang.Object
    An event that is fired before the designated script is ran
    • Constructor Summary

      Constructors 
      Constructor Description
      ScriptPreFired​(int scriptId)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean canEqual​(java.lang.Object other)  
      boolean equals​(java.lang.Object o)  
      ScriptEvent getScriptEvent()
      The input of the script invoke, this will be null unless it is the root script
      int getScriptId()
      The script id of the invoked script
      int hashCode()  
      void setScriptEvent​(ScriptEvent scriptEvent)
      The input of the script invoke, this will be null unless it is the root script
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ScriptPreFired

        public ScriptPreFired​(int scriptId)
    • Method Detail

      • getScriptId

        public int getScriptId()
        The script id of the invoked script
      • getScriptEvent

        public ScriptEvent getScriptEvent()
        The input of the script invoke, this will be null unless it is the root script
      • setScriptEvent

        public void setScriptEvent​(ScriptEvent scriptEvent)
        The input of the script invoke, this will be null unless it is the root script
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object