ch.sbb.polarion.extension.api.extender.velocity.VelocityCustomFieldsProject 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.velocity;
import ch.sbb.polarion.extension.api.extender.project.CustomFieldsProject;
import lombok.NoArgsConstructor;
import org.jetbrains.annotations.NotNull;
import javax.xml.bind.JAXBException;
import java.io.IOException;
@NoArgsConstructor
public class VelocityCustomFieldsProject extends VelocityReadOnlyCustomFieldsProject {
public void setCustomField(@NotNull String projectId, @NotNull String key, @NotNull String value) throws JAXBException, IOException {
new CustomFieldsProject(projectId).setCustomField(key, value);
}
}