If you want to switch back to maven profile, simply use tag name as default (this will only work on the maven profile).
Java
MJCS.swapProfile(DFAULT_PROFILE_TAG)
Utility functionality
Remove – allows removing preinstalled profiles by TAG or PROFILE.
Java
ProfileManager.remove("TAG");
ProfileManager.remove(profile);
List profiles – we allow listing tags (will not check if profile correctly installed) and listing profiles which will check if profile is installed and if it contains information package.
Java
// Light version to return all preinstalled profile tags. (Will only show all folders in installed folder)
List<String> tagList = ProfileManager.listTags();
// Will check folders and read information file about profile.
List<Profile> profileList = ProfileManager.listProfiles();
Get Profile by tag – you can retrieve single profile information by tag, which contains profile version, RUID, profile supported document type list by countries.
Java
Profile profile = ProfileManager.getProfile("UK");
Document type list – will provide list of countries by the document support.
Will provide list of Countries which contains List of document types supported.
Java
List<Country> list = profile.getCountriesList()