Skip to content

Instantly share code, notes, and snippets.

@bryceosterhaus
Created September 28, 2017 17:39
Show Gist options
  • Save bryceosterhaus/03d5af382ae2eff7f162f1356c0d2434 to your computer and use it in GitHub Desktop.
Save bryceosterhaus/03d5af382ae2eff7f162f1356c0d2434 to your computer and use it in GitHub Desktop.
package com.liferay.osb.faro.contacts.model.constants;
import java.util.HashMap;
import java.util.Map;
/**
* @author Matthew Kong
*/
public class ContactsProviderConstants {
public static final String TYPE_CSV = "CSV";
public static final String TYPE_LIFERAY_DXP = "Liferay DXP";
public static Map<String, String> getTypes() {
return _types;
}
private static final Map<String, String> _types = new HashMap<>();
static {
_types.put("csv", TYPE_CSV);
_types.put("liferayDxp", TYPE_LIFERAY_DXP);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment