Class Configurations

java.lang.Object
com.elo.solutions.eloinst.settings.Configurations

public class Configurations extends Object
Helper class to find properties which is set in the project itself
  • 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 way
           elo.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 line
      project - gradle project
      Returns:
      configured object with elo system