Class EMConfig
java.lang.Object
com.aeontronix.enhancedmule.tools.config.EMConfig
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckProfileExists(String profileName) static EMConfigstatic EMConfigfindConfigFile(String filename) getOrCreateProfile(String profile) getProfile(@Nullable String profile) getProfileByProfileName(@NotNull String profile) @NotNull Map<String,ConfigProfile> voidsave()voidvoidsetProfiles(@NotNull Map<String, ConfigProfile> profiles)
-
Field Details
-
DEFAULT
- See Also:
-
-
Constructor Details
-
EMConfig
public EMConfig()
-
-
Method Details
-
save
- Throws:
IOException
-
findConfigFile
- Throws:
IOException
-
getActive
-
setActive
-
checkProfileExists
- Throws:
ProfileNotFoundException
-
findConfigFile
- Throws:
IOException
-
getOrCreateProfile
-
getActiveProfile
-
getProfile
- Throws:
ProfileNotFoundException
-
getProfileByProfileName
public ConfigProfile getProfileByProfileName(@NotNull @NotNull String profile) throws ProfileNotFoundException - Throws:
ProfileNotFoundException
-
getProfiles
-
setProfiles
-