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

net.nemerosa.ontrack.model.form.Password Maven / Gradle / Ivy

There is a newer version: 4.4.5
Show newest version
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