net.nemerosa.ontrack.model.form.Memo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ontrack-model Show documentation
Show all versions of ontrack-model Show documentation
Ontrack module: ontrack-model
package net.nemerosa.ontrack.model.form;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.Validate;
@EqualsAndHashCode(callSuper = false)
@Data
public class Memo extends AbstractText {
private int rows = 3;
protected Memo(String name) {
super("memo", name);
}
public static Memo of(String name) {
return new Memo(name);
}
public Memo rows(int value) {
Validate.isTrue(value > 0);
this.rows = value;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy