All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ch.sbb.polarion.extension.api.extender.settings.ProjectCustomFieldsSettings Maven / Gradle / Ivy

Go to download

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;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy