Class Configurations
java.lang.Object
com.elo.solutions.eloinst.settings.Configurations
Helper class to find properties which is set in the project itself
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EloSystemapplyConfigHierarchy(TaskOptions taskOptions, org.gradle.api.Project project) Combine configuration options from several strategic ways.static EloSystemfromGradleProperties(@NonNull GradlePropertiesWrapper propertiesWrapper) Collect necessary credentials from the gradle property.
-
Constructor Details
-
Configurations
public Configurations()
-
-
Method Details
-
fromGradleProperties
public static EloSystem fromGradleProperties(@NonNull @NonNull GradlePropertiesWrapper propertiesWrapper) Collect necessary credentials from the gradle property. You can define gradle properties in the following wayelo.server.ixUrl="your ix address" elo.server.username="Administrator" elo.server.password="elo"Default of the username is Administrator and the default password is elo If there is no ixUrl then the function returns an empty string- Parameters:
propertiesWrapper- wrapper- Returns:
- configured object with elo system properties
-
applyConfigHierarchy
public static EloSystem applyConfigHierarchy(TaskOptions taskOptions, org.gradle.api.Project project) Combine configuration options from several strategic ways.- Parameters:
taskOptions- retrieved tasks of the terminal command lineproject- gradle project- Returns:
- configured object with elo system
-