org.jbpm.process.instance.impl

## Class JavaScriptAction

- java.lang.Object
- - org.jbpm.process.instance.impl.JavaScriptAction

- All Implemented Interfaces:
    Externalizable, Serializable, Action

      public class JavaScriptAction
      extends Object
      implements Action, Externalizable

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `JavaScriptAction()`
    `JavaScriptAction(String expr)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `execute(org.kie.api.runtime.process.ProcessContext context)`
    `void` | `readExternal(ObjectInput in)`
    `void` | `writeExternal(ObjectOutput out)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### JavaScriptAction

          public JavaScriptAction()

    - #### JavaScriptAction

          public JavaScriptAction(String expr)

  - ### Method Detail

    - #### readExternal

          public void readExternal(ObjectInput in)
                            throws IOException,
                                   ClassNotFoundException

      Specified by:
        `readExternal` in interface `Externalizable`
      Throws:
        `IOException`
        `ClassNotFoundException`

    - #### writeExternal

          public void writeExternal(ObjectOutput out)
                             throws IOException

      Specified by:
        `writeExternal` in interface `Externalizable`
      Throws:
        `IOException`

    - #### execute

          public void execute(org.kie.api.runtime.process.ProcessContext context)
                       throws Exception

      Specified by:
        `execute` in interface `Action`
      Throws:
        `Exception`

Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.