private static List<String> inputToCandidateSources(String input) {
        if (input == null) {
            return Collections.emptyList();
        }

        Scanner scanner = new Scanner(input);
        scanner.useDelimiter(",");
        List<String> result = new ArrayList<>();
        while (scanner.hasNext()) {
            String candidateSource = scanner.next().trim();
            if (!candidateSource.isEmpty()) {
                result.add(candidateSource);
            }
        }
        return Collections.unmodifiableList(result);
    }
Main entry point to start configuration process.
@throws ConfiguratorException Configuration error
plugin/src/main/java/io/jenkins/plugins/casc/ConfigurationAsCode.java