ch.sbb.polarion.extension.api.extender.settings.ProjectCustomFieldsSettings Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ch.sbb.polarion.extension.api-extender Show documentation
Show all versions of ch.sbb.polarion.extension.api-extender Show documentation
This Polarion extension provides additional functionality which is not implemented in standard Polarion API for some reason
The newest version!
package ch.sbb.polarion.extension.api.extender.settings;
import ch.sbb.polarion.extension.generic.settings.GenericNamedSettings;
import org.jetbrains.annotations.NotNull;
public class ProjectCustomFieldsSettings extends GenericNamedSettings {
public static final String FEATURE_NAME = "project_custom_fields";
public ProjectCustomFieldsSettings() {
super(FEATURE_NAME);
}
@Override
public @NotNull ProjectCustomFieldsSettingsModel defaultValues() {
final ProjectCustomFieldsSettingsModel projectCustomFieldsSettingsModel = new ProjectCustomFieldsSettingsModel();
projectCustomFieldsSettingsModel.setGlobalRoles("admin");
projectCustomFieldsSettingsModel.setProjectRoles();
return projectCustomFieldsSettingsModel;
}
}