org.jbpm.kie.services.impl.model

## Class ProcessAssetDesc

- java.lang.Object
- - org.jbpm.kie.services.impl.model.ProcessAssetDesc

- All Implemented Interfaces:
    Serializable, DeployedAsset, ProcessDefinition

      public class ProcessAssetDesc
      extends Object
      implements ProcessDefinition

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ProcessAssetDesc()`
    `ProcessAssetDesc(String id, String name, String version, String packageName, String type, String knowledgeType, String namespace, String deploymentId)`
    `ProcessAssetDesc(String id, String name, String version, String packageName, String type, String knowledgeType, String namespace, String deploymentId, boolean dynamic)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addForm(String id, String formContent)`
    `ProcessAssetDesc` | `copy()`
    `boolean` | `equals(Object obj)`
    `Map<String,Collection<String>>` | `getAssociatedEntities()`
    `String` | `getDeploymentId()`
    `String` | `getEncodedProcessSource()`
    `Map<String,String>` | `getForms()`
    `Collection<String>` | `getGlobals()`
    `String` | `getId()`
    `String` | `getKnowledgeType()`
    `String` | `getName()`
    `String` | `getNamespace()`
    `Set<NodeDesc>` | `getNodes()`
    `String` | `getOriginalPath()`
    `String` | `getPackageName()`
    `Map<String,String>` | `getProcessVariables()`
    `Collection<String>` | `getReferencedRules()`
    `Collection<String>` | `getReusableSubProcesses()`
    `List<String>` | `getRoles()`
    `Map<String,String>` | `getServiceTasks()`
    `Collection<String>` | `getSignals()`
    `Set<TimerDesc>` | `getTimers()`
    `String` | `getType()`
    `String` | `getVersion()`
    `int` | `hashCode()`
    `boolean` | `isActive()`
    `boolean` | `isDynamic()`
    `void` | `setActive(boolean active)`
    `void` | `setAssociatedEntities(Map<String,Collection<String>> associatedEntities)`
    `void` | `setDeploymentId(String deploymentId)`
    `void` | `setEncodedProcessSource(String processString)`
    `void` | `setForms(Map<String,String> forms)`
    `void` | `setGlobals(Collection<String> globals)`
    `void` | `setId(String id)`
    `void` | `setName(String name)`
    `void` | `setNodes(Set<NodeDesc> nodes)`
    `void` | `setOriginalPath(String originalPath)`
    `void` | `setPackageName(String packageName)`
    `void` | `setProcessVariables(Map<String,String> processVariables)`
    `void` | `setReferencedRules(Collection<String> rules)`
    `void` | `setReusableSubProcesses(Collection<String> reusableSubProcesses)`
    `void` | `setRoles(List<String> roles)`
    `void` | `setServiceTasks(Map<String,String> serviceTasks)`
    `void` | `setSignals(Collection<String> signals)`
    `void` | `setTimers(Set<TimerDesc> timers)`
    `String` | `toString()`

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

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### ProcessAssetDesc

          public ProcessAssetDesc()

    - #### ProcessAssetDesc

          public ProcessAssetDesc(String id,
                                  String name,
                                  String version,
                                  String packageName,
                                  String type,
                                  String knowledgeType,
                                  String namespace,
                                  String deploymentId)

    - #### ProcessAssetDesc

          public ProcessAssetDesc(String id,
                                  String name,
                                  String version,
                                  String packageName,
                                  String type,
                                  String knowledgeType,
                                  String namespace,
                                  String deploymentId,
                                  boolean dynamic)

  - ### Method Detail

    - #### getId

          public String getId()

      Specified by:
        `getId` in interface `DeployedAsset`
      Specified by:
        `getId` in interface `ProcessDefinition`

    - #### setId

          public void setId(String id)

    - #### getName

          public String getName()

      Specified by:
        `getName` in interface `DeployedAsset`
      Specified by:
        `getName` in interface `ProcessDefinition`

    - #### setName

          public void setName(String name)

    - #### getVersion

          public String getVersion()

      Specified by:
        `getVersion` in interface `DeployedAsset`
      Specified by:
        `getVersion` in interface `ProcessDefinition`

    - #### getKnowledgeType

          public String getKnowledgeType()

      Specified by:
        `getKnowledgeType` in interface `DeployedAsset`

    - #### getOriginalPath

          public String getOriginalPath()

      Specified by:
        `getOriginalPath` in interface `DeployedAsset`

    - #### setOriginalPath

          public void setOriginalPath(String originalPath)

    - #### getPackageName

          public String getPackageName()

      Specified by:
        `getPackageName` in interface `ProcessDefinition`

    - #### setPackageName

          public void setPackageName(String packageName)

    - #### getType

          public String getType()

      Specified by:
        `getType` in interface `ProcessDefinition`

    - #### getDeploymentId

          public String getDeploymentId()

      Specified by:
        `getDeploymentId` in interface `ProcessDefinition`

    - #### setDeploymentId

          public void setDeploymentId(String deploymentId)

    - #### getAssociatedEntities

          public Map<String,Collection<String>> getAssociatedEntities()

      Specified by:
        `getAssociatedEntities` in interface `ProcessDefinition`

    - #### setAssociatedEntities

          public void setAssociatedEntities(Map<String,Collection<String>> associatedEntities)

    - #### getServiceTasks

          public Map<String,String> getServiceTasks()

      Specified by:
        `getServiceTasks` in interface `ProcessDefinition`

    - #### setServiceTasks

          public void setServiceTasks(Map<String,String> serviceTasks)

    - #### getProcessVariables

          public Map<String,String> getProcessVariables()

      Specified by:
        `getProcessVariables` in interface `ProcessDefinition`

    - #### setProcessVariables

          public void setProcessVariables(Map<String,String> processVariables)

    - #### getReusableSubProcesses

          public Collection<String> getReusableSubProcesses()

      Specified by:
        `getReusableSubProcesses` in interface `ProcessDefinition`

    - #### setReusableSubProcesses

          public void setReusableSubProcesses(Collection<String> reusableSubProcesses)

    - #### getSignals

          public Collection<String> getSignals()

      Specified by:
        `getSignals` in interface `ProcessDefinition`

    - #### setSignals

          public void setSignals(Collection<String> signals)

    - #### getGlobals

          public Collection<String> getGlobals()

      Specified by:
        `getGlobals` in interface `ProcessDefinition`

    - #### setGlobals

          public void setGlobals(Collection<String> globals)

    - #### getReferencedRules

          public Collection<String> getReferencedRules()

      Specified by:
        `getReferencedRules` in interface `ProcessDefinition`

    - #### setReferencedRules

          public void setReferencedRules(Collection<String> rules)

    - #### getNamespace

          public String getNamespace()

    - #### getEncodedProcessSource

          public String getEncodedProcessSource()

    - #### setEncodedProcessSource

          public void setEncodedProcessSource(String processString)

    - #### getForms

          public Map<String,String> getForms()

    - #### setForms

          public void setForms(Map<String,String> forms)

    - #### addForm

          public void addForm(String id,
                              String formContent)

    - #### getRoles

          public List<String> getRoles()

    - #### setRoles

          public void setRoles(List<String> roles)

    - #### isActive

          public boolean isActive()

      Specified by:
        `isActive` in interface `ProcessDefinition`

    - #### setActive

          public void setActive(boolean active)

    - #### isDynamic

          public boolean isDynamic()

      Specified by:
        `isDynamic` in interface `ProcessDefinition`

    - #### setNodes

          public void setNodes(Set<NodeDesc> nodes)

    - #### getNodes

          public Set<NodeDesc> getNodes()

      Specified by:
        `getNodes` in interface `ProcessDefinition`

    - #### setTimers

          public void setTimers(Set<TimerDesc> timers)

    - #### getTimers

          public Set<TimerDesc> getTimers()

      Specified by:
        `getTimers` in interface `ProcessDefinition`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### equals

          public boolean equals(Object obj)

      Overrides:
        `equals` in class `Object`

    - #### copy

          public ProcessAssetDesc copy()

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