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

io.brachu.johann.project.RandomProjectNameProvider Maven / Gradle / Ivy

package io.brachu.johann.project;

import org.apache.commons.text.RandomStringGenerator;

class RandomProjectNameProvider implements ProjectNameProvider {

    private final String projectName;

    public RandomProjectNameProvider() {
        projectName = new RandomStringGenerator.Builder().withinRange('a', 'z').build().generate(8);
    }

    @Override
    public String provide() {
        return projectName;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy