##### Coverage Report - com.ctrip.framework.apollo.portal.constant.RoleType

Classes in this File | Line Coverage | Branch Coverage | Complexity
RoleType |
0% | 0/2
0% | 0/6
| 3.0;3

1 |  |
     package com.ctrip.framework.apollo.portal.constant;
2 |  |
3 | 0 |
     public class RoleType {
4 |  |
5 |  |
       public static final String MASTER = "Master";
6 |  |
7 |  |
       public static final String MODIFY_NAMESPACE = "ModifyNamespace";
8 |  |
9 |  |
       public static final String RELEASE_NAMESPACE = "ReleaseNamespace";
10 |  |
11 |  |
       public static boolean isValidRoleType(String roleType) {
12 | 0 |
         return MASTER.equals(roleType) || MODIFY_NAMESPACE.equals(roleType) || RELEASE_NAMESPACE.equals(roleType);
13 |  |
       }
14 |  |
15 |  |
     }