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

io.gravitee.node.api.certificate.AbstractStoreLoaderOptions Maven / Gradle / Ivy

There is a newer version: 7.0.0-alpha.13
Show newest version
package io.gravitee.node.api.certificate;

import java.util.List;
import java.util.UUID;
import lombok.Builder;
import lombok.Getter;
import lombok.experimental.SuperBuilder;

/**
 *
 *  Common properties when loading trustore and keystore.
 *  @author Benoit BORDIGONI (benoit.bordigoni at graviteesource.com)
 * @author GraviteeSource Team
 *
 */
@Getter
@SuperBuilder
public abstract class AbstractStoreLoaderOptions {

    private static final boolean DEFAULT_WATCH = true;
    private static final String DEFAULT_PASSWORD = UUID.randomUUID().toString();

    private final List paths;
    private final String type;
    private final String secretLocation;
    private final List kubernetesLocations;

    @Builder.Default
    private String password = DEFAULT_PASSWORD;

    @Builder.Default
    private boolean watch = DEFAULT_WATCH;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy