net.nemerosa.ontrack.model.form.Password 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;
@EqualsAndHashCode(callSuper = false)
@Data
public class Password extends AbstractText {
private boolean withConfirmation = false;
protected Password(String name) {
super("password", name);
}
public static Password of(String name) {
return new Password(name);
}
public Password withConfirmation() {
this.withConfirmation = true;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy