Enum Class TeamRole
- All Implemented Interfaces:
Serializable,Comparable<TeamRole>,Constable
Roles that can be assigned to team members.
TeamRole defines the responsibility and authority level of a member within the team.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCo-lead who assists the primary lead.Subject matter expert consulted for specialized knowledge.Facilitator who helps coordinate discussions.Team leader who coordinates and delegates.Regular team member.Observer who monitors but doesn't participate.Reviewer who validates output. -
Method Summary
Modifier and TypeMethodDescriptionReturns role description.booleanChecks if this role has coordination authority.booleanisLeader()Checks if this role is a leadership role.booleanChecks if this role participates in execution.static TeamRoleReturns the enum constant of this class with the specified name.static TeamRole[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
LEAD
Team leader who coordinates and delegates. Has final decision authority. -
CO_LEAD
Co-lead who assists the primary lead. Can take over if lead is unavailable. -
MEMBER
Regular team member. Executes assigned tasks. -
EXPERT
Subject matter expert consulted for specialized knowledge. May not participate in all tasks. -
REVIEWER
Reviewer who validates output. Provides quality control. -
OBSERVER
Observer who monitors but doesn't participate. Used for learning or auditing. -
FACILITATOR
Facilitator who helps coordinate discussions. Used in DEBATE formation.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getDescription
Returns role description.- Returns:
- description
-
hasAuthority
public boolean hasAuthority()Checks if this role has coordination authority.- Returns:
- true if has authority
-
isLeader
public boolean isLeader()Checks if this role is a leadership role.- Returns:
- true if leader
-
participates
public boolean participates()Checks if this role participates in execution.- Returns:
- true if participates
-