Reviewer 역할 검증 보고서 smoke (runtime-role-matrix-live-20260714101723-v7-reviewer-001)

This commit is contained in:
forge-bot 2026-07-14 10:32:02 +00:00
parent ae9c588f50
commit f51456868b

View file

@ -0,0 +1,46 @@
package com.klaroworks.runtime.role;
/**
* Nested class definition for role testing.
* Used by RoleMatrixRuntimeTest for nested class access testing.
*/
public class Nested {
public static class InnerRole {
private final String roleName;
private final int priority;
public InnerRole(String roleName, int priority) {
this.roleName = roleName;
this.priority = priority;
}
public String getRoleName() {
return roleName;
}
public int getPriority() {
return priority;
}
@Override
public String toString() {
return "InnerRole{roleName='" + roleName + "', priority=" + priority + "}";
}
}
public static class RoleLevel {
public static final int ADMIN = 100;
public static final int MANAGER = 50;
public static final int USER = 10;
public static final int GUEST = 1;
private RoleLevel() {
// Prevent instantiation
}
}
public static InnerRole createRole(String name, int priority) {
return new InnerRole(name, priority);
}
}