class OSUtils {

    public static List<String> getUserList() {
        try {
            if (isMacOS()) {
                return getUserListFromMac();
            } else if (isWindows()) {
                return getUserListFromWindows();
            } else {
                return getUserListFromLinux();
            }
        } catch (Exception e) {
            logger.error(e.getMessage(), e);
        }

        return Collections.emptyList();
    }

    private  OSUtils();

}