org.jbpm.process.core.context.variable

## Class VariableScope

- java.lang.Object
- - org.jbpm.process.core.context.AbstractContext
  - - org.jbpm.process.core.context.variable.VariableScope

- All Implemented Interfaces:
    Serializable, Context

      public class VariableScope
      extends AbstractContext

  See Also:
    Serialized Form

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `VARIABLE_SCOPE`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `VariableScope()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Variable` | `findVariable(String variableName)`
    `String` | `getType()`
    `String[]` | `getVariableNames()`
    `List<Variable>` | `getVariables()`
    `Context` | `resolveContext(Object param)`
    `void` | `setVariables(List<Variable> variables)`
    `static void` | `setVariableStrictOption(boolean turnedOn)`
    `void` | `validateVariable(String processName, String name, Object value)`
    `void` | `validateWorkItemResultVariable(String processName, String name, org.kie.api.runtime.process.WorkItem workItem)`

    - ### Methods inherited from class org.jbpm.process.core.context.AbstractContext

      `getContextContainer, getId, setContextContainer, setId`

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

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

- - ### Field Detail

    - #### VARIABLE_SCOPE

          public static final String VARIABLE_SCOPE

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### VariableScope

          public VariableScope()

  - ### Method Detail

    - #### getType

          public String getType()

    - #### getVariables

          public List<Variable> getVariables()

    - #### setVariables

          public void setVariables(List<Variable> variables)

    - #### getVariableNames

          public String[] getVariableNames()

    - #### findVariable

          public Variable findVariable(String variableName)

    - #### resolveContext

          public Context resolveContext(Object param)

    - #### validateVariable

          public void validateVariable(String processName,
                              String name,
                              Object value)

    - #### validateWorkItemResultVariable

          public void validateWorkItemResultVariable(String processName,
                                            String name,
                                            org.kie.api.runtime.process.WorkItem workItem)

    - #### setVariableStrictOption

          public static void setVariableStrictOption(boolean turnedOn)

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