Class ProcessExecutor


  • public class ProcessExecutor
    extends java.lang.Object
    • Constructor Detail

      • ProcessExecutor

        public ProcessExecutor()
      • ProcessExecutor

        public ProcessExecutor​(int executor,
                               int groupId,
                               int roleId)
    • Method Detail

      • getRoleId

        public int getRoleId()
      • setRoleId

        public void setRoleId​(int roleId)
      • getGroupId

        public int getGroupId()
      • setGroupId

        public void setGroupId​(int groupId)
      • getUserId

        public int getUserId()
      • setUserId

        public void setUserId​(int userId)
      • isInProcessGroup

        public boolean isInProcessGroup​(ProcessGroup pg)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • parseSafe

        public static final java.util.Set<ProcessExecutor> parseSafe​(java.lang.String value,
                                                                     java.util.Set<ProcessGroup> processGroups)
      • serialize

        public static final java.lang.String serialize​(java.util.Set<ProcessExecutor> processExecutors)
      • toGroupSet

        public static final java.util.Set<java.lang.Integer> toGroupSet​(java.util.Set<ProcessExecutor> processExecutors)
      • toExecutorSet

        public static final java.util.Set<java.lang.Integer> toExecutorSet​(java.util.Set<ProcessExecutor> processExecutors)
      • toProcessExecutorSet

        public static final java.util.Set<ProcessExecutor> toProcessExecutorSet​(java.util.Set<java.lang.Integer> userIds,
                                                                                ProcessGroup processGroup)
      • createProcessGroup

        public ProcessGroup createProcessGroup()
      • updateProcessExecutors

        public static final void updateProcessExecutors​(java.util.Set<ProcessExecutor> processExecutors,
                                                        ProcessGroup processGroup,
                                                        java.util.Set<java.lang.Integer> executorIds)
      • getExecutorsWithRole

        public static java.util.Set<java.lang.Integer> getExecutorsWithRole​(java.util.Set<ProcessExecutor> processExecutorSet,
                                                                            int role)