Klasse GroovyScriptWorkflowCondition

java.lang.Object
de.uplanet.lucy.server.workflow.condition.AbstractWorkflowCondition
de.uplanet.lucy.server.workflow.condition.GroovyScriptWorkflowCondition
Alle implementierten Schnittstellen:
IActivatableWorkflowObject, ICustomConfigurableWorkflowObject, IGroovyConfigurableWorkflowObject, INamedWorkflowObject, INeedWorkflow, INeedWorkflowDirectory, IWorkflowCondition, IWorkflowObject, Serializable

public final class GroovyScriptWorkflowCondition extends AbstractWorkflowCondition implements INeedWorkflowDirectory, IGroovyConfigurableWorkflowObject
Siehe auch:
  • Konstruktordetails

    • GroovyScriptWorkflowCondition

      public GroovyScriptWorkflowCondition(String p_strGuid)
  • Methodendetails

    • getWorkflowDirectory

      public Path getWorkflowDirectory()
      Beschreibung aus Schnittstelle kopiert: INeedWorkflowDirectory
      Get the workflow directory.
      Angegeben von:
      getWorkflowDirectory in Schnittstelle INeedWorkflowDirectory
      Gibt zurück:
      The workflow directory.
    • setWorkflowDirectory

      public void setWorkflowDirectory(Path p_dir)
      Beschreibung aus Schnittstelle kopiert: INeedWorkflowDirectory
      Set the workflow directory.
      Angegeben von:
      setWorkflowDirectory in Schnittstelle INeedWorkflowDirectory
      Parameter:
      p_dir - The workflow directory.
    • getScriptPath

      public String getScriptPath()
      Get the path of the Groovy script.
      Gibt zurück:
      The path of the Groovy script.
    • setScriptPath

      public void setScriptPath(String p_strScript)
      Set the path of the Groovy script.
      Parameter:
      p_strScript - The path of the Groovy script.
    • isCacheCompiledScript

      public boolean isCacheCompiledScript()
      Beschreibung aus Schnittstelle kopiert: IGroovyConfigurableWorkflowObject
      This flag controls whether compiled Groovy script classes should be cached or not.

      The default value is true.

      Angegeben von:
      isCacheCompiledScript in Schnittstelle IGroovyConfigurableWorkflowObject
      Gibt zurück:
      true if compiled Groovy script classes should be cached, or false otherwise.
    • setCacheCompiledScript

      public void setCacheCompiledScript(boolean p_bCacheCompiledScript)
      Beschreibung aus Schnittstelle kopiert: IGroovyConfigurableWorkflowObject
      This flag controls whether compiled Groovy script classes should be cached or not.
      Angegeben von:
      setCacheCompiledScript in Schnittstelle IGroovyConfigurableWorkflowObject
      Parameter:
      p_bCacheCompiledScript - true if compiled Groovy script classes should be cached, or false otherwise.
    • isDisablePrintOutput

      public boolean isDisablePrintOutput()
      Beschreibung aus Schnittstelle kopiert: IGroovyConfigurableWorkflowObject
      This flag controls whether script standard output (println etc.) should be suppressed or not.
      Angegeben von:
      isDisablePrintOutput in Schnittstelle IGroovyConfigurableWorkflowObject
      Gibt zurück:
      true if script standard output should be suppressed, or false otherwise.
    • setDisablePrintOutput

      public void setDisablePrintOutput(boolean p_bDisablePrintOutput)
      This flag controls whether script standard output (println etc.) should be suppressed or not.
      Angegeben von:
      setDisablePrintOutput in Schnittstelle IGroovyConfigurableWorkflowObject
      Parameter:
      p_bDisablePrintOutput - true if script standard output should be suppressed, or false otherwise.
    • getCustomProperties

      public Map<String,String> getCustomProperties()
      Beschreibung aus Schnittstelle kopiert: ICustomConfigurableWorkflowObject
      Get the custom properties.
      Angegeben von:
      getCustomProperties in Schnittstelle ICustomConfigurableWorkflowObject
      Gibt zurück:
      The custom properties.
    • setCustomProperties

      public void setCustomProperties(Map<String,String> p_customProperties)
      Beschreibung aus Schnittstelle kopiert: ICustomConfigurableWorkflowObject
      Set the custom properties.
      Angegeben von:
      setCustomProperties in Schnittstelle ICustomConfigurableWorkflowObject
      Parameter:
      p_customProperties - The custom properties to be set (must not be null).
    • process

      public WorkflowTransition[] process(IWorkflowEvent p_evt, de.uplanet.lucy.server.workflow.IWorkflowProcessingContext p_wfCtx, de.uplanet.lucy.server.IProcessingContext p_ctx) throws Exception
      Beschreibung aus Schnittstelle kopiert: IWorkflowCondition
      Process a workflow event in the given context.

      The workflow engine will follow the resulting transitions in the order they were returned in the array.

      Normally, a workflow condition should return null or an empty array if it is not active.

      Angegeben von:
      process in Schnittstelle IWorkflowCondition
      Parameter:
      p_evt - The event to be processed.
      p_wfCtx - The workflow processing context.
      p_ctx - The processing context.
      Gibt zurück:
      The efferent transitions, or an empty array, or null.
      Löst aus:
      Exception - If an error occurred.