Class GitConfiguration

java.lang.Object
com.mooltiverse.oss.nyx.entities.GitConfiguration

public class GitConfiguration extends Object
This object models the fields used to configure the Git service.
  • Constructor Details

    • GitConfiguration

      public GitConfiguration()
      Default constructor.
    • GitConfiguration

      public GitConfiguration(Map<String,GitRemoteConfiguration> remotes)
      Standard constructor.
      Parameters:
      remotes - the map of remotes configuration options.
      Throws:
      NullPointerException - if some argument is null
  • Method Details

    • getRemotes

      public Map<String,GitRemoteConfiguration> getRemotes()
      Returns the map of remotes configuration options.
      Returns:
      the map of remotes configuration options.
    • setRemotes

      public void setRemotes(Map<String,GitRemoteConfiguration> remotes)
      Sets the map of remotes configuration options.
      Parameters:
      remotes - the map of remotes configuration options.