Class PomWriterOptions.ConfigurationScopeMapping

  • Enclosing class:
    PomWriterOptions

    public static class PomWriterOptions.ConfigurationScopeMapping
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ConfigurationScopeMapping​(java.util.Map<java.lang.String,​java.lang.String> scopesMapping)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getScope​(java.lang.String[] confs)
      Returns the scope mapped to the given configuration array.
      boolean isOptional​(java.lang.String[] confs)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConfigurationScopeMapping

        public ConfigurationScopeMapping​(java.util.Map<java.lang.String,​java.lang.String> scopesMapping)
    • Method Detail

      • getScope

        public java.lang.String getScope​(java.lang.String[] confs)
        Returns the scope mapped to the given configuration array.
        Parameters:
        confs - the configurations for which the scope should be returned
        Returns:
        the scope to which the conf is mapped
      • isOptional

        public boolean isOptional​(java.lang.String[] confs)