encode static method

Implementation

static String encode(RoleConfigurationSource value) {
	switch (value) {
		case RoleConfigurationSource.configuration:
			return 'CONFIGURATION';
		case RoleConfigurationSource.inherited:
			return 'INHERITED';
		case RoleConfigurationSource.predefined:
			return 'DEFAULT';
		}
}