Class ProcessSupervisor

java.lang.Object
org.bonitasoft.web.client.model.ProcessSupervisor
All Implemented Interfaces:
Serializable

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.12.0") public class ProcessSupervisor extends Object implements Serializable
The process supervisor has management rights over a process. He can configure and monitor it. You can give the ProcessSupervisor rights to some users by specifying a role and or a group, or a specific user. In order to be able to manage the processes he supervises in the portal, a user should also have the profile `Process Manager`
See Also:
  • Field Details

  • Constructor Details

    • ProcessSupervisor

      public ProcessSupervisor()
  • Method Details

    • processId

      public ProcessSupervisor processId(@Nullable String processId)
    • getProcessId

      @Nullable public String getProcessId()
      Id of the process
      Returns:
      processId
    • setProcessId

      public void setProcessId(@Nullable String processId)
    • roleId

      public ProcessSupervisor roleId(@Nullable String roleId)
    • getRoleId

      @Nullable public String getRoleId()
      Id of role, or -1 if the supervisor type is not role or membership
      Returns:
      roleId
    • setRoleId

      public void setRoleId(@Nullable String roleId)
    • groupId

      public ProcessSupervisor groupId(@Nullable String groupId)
    • getGroupId

      @Nullable public String getGroupId()
      Id of group, or -1 if the supervisor type is not group or membership
      Returns:
      groupId
    • setGroupId

      public void setGroupId(@Nullable String groupId)
    • userId

      public ProcessSupervisor userId(@Nullable String userId)
    • getUserId

      @Nullable public String getUserId()
      Id of user, or -1 if the supervisor type is not user
      Returns:
      userId
    • setUserId

      public void setUserId(@Nullable String userId)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object