Gets the editor configuration with the given name.<p>

@param name the name of the editor configuration

@return the editor configuration
509564
public CmsWorkplaceEditorConfiguration getEditorConfiguration(String name) {

        for (CmsWorkplaceEditorConfiguration config : m_editorConfigurations) {
            if (name.equals(config.getName())) {
                return config;
            }
        }
        return null;
    }
627272
public CompilerInput getByName(String name) {
    for (CompilerInput input : inputs) {
      if (name.equals(input.getName())) {
        return input;
      }
    }
    return null;
  }
1282898
public static cmppolicy_cmpglobal_binding[] get(nitro_service service, String name) throws Exception{
		cmppolicy_cmpglobal_binding obj = new cmppolicy_cmpglobal_binding();
		obj.set_name(name);
		cmppolicy_cmpglobal_binding response[] = (cmppolicy_cmpglobal_binding[]) obj.get_resources(service);
		return response;
	}
202470
public ConfigurationItem getDefaultItem(final String name) {
    if(name==null) throw new IllegalArgumentException("The passed name was null");
    return defaultConfItems.get(name);
  }
796747
public ParameterBinding getBindingFor(String name) {

        Assert.hasText(name, PARAMETER_NAME_MISSING);

        for (ParameterBinding binding : bindings) {
            if (binding.hasName(name)) {
                return binding;
            }
        }

        throw new IllegalArgumentException(String.format("No parameter binding found for name %s!", name));
    }
468131
public I_CmsEditor getEditorForResource(CmsResource resource, boolean plainText) {

        List<I_CmsEditor> editors = new ArrayList<I_CmsEditor>();
        for (int i = 0; i < EDITORS.length; i++) {
            if (EDITORS[i].matchesResource(resource, plainText)) {
                editors.add(EDITORS[i]);
            }
        }
        I_CmsEditor result = null;
        if (editors.size() == 1) {
            result = editors.get(0);
        } else if (editors.size() > 1) {
            Collections.sort(editors, new Comparator<I_CmsEditor>() {

                public int compare(I_CmsEditor o1, I_CmsEditor o2) {

                    return o1.getPriority() > o2.getPriority() ? -1 : 1;
                }
            });
            result = editors.get(0);
        }
        return result;
    }
1083251
private Configuration getConfigByName(String name) {
    if (config != null) {
      for (Configuration c : config) {
        if (c != null && c.getStringValue(Parameters.ConcurrentEntityName.ordinal(), "").equals(name)) {
          return c;
        }
      }
    }
    return null;
  }
900928
public static String[] getStringArray(String name){
        if(getConfiguration().containsKey(name)){
            return getConfiguration().getStringArray(name);
        }
        return null;
    }
198576
public static String getFieldNameWithJavaCase(final String name)
    {
       return name==null?null:Character.toLowerCase(name.charAt(0))+name.substring(1);
    }
1306683
CompletableFuture<CounterConfiguration> getConfiguration(String name) {
      return stateCache.getAsync(stateKey(name)).thenCompose(existingConfiguration -> {
         if (existingConfiguration == null) {
            return checkGlobalConfiguration(name);
         } else {
            return CompletableFuture.completedFuture(existingConfiguration);
         }
      });
   }
847934
public static List<Object> getList(String name){
        if(getConfiguration().containsKey(name)){
            return getConfiguration().getList(name);
        }
        return null;
    }
42136
public String getParameterValue(String name) throws RepositoryConfigurationException
   {
      String value = getParameterValue(name, null);
      if (value == null)
         throw new RepositoryConfigurationException("Parameter " + name + " not found ");
      return value;
   }
130512
@RequestMapping(value = "configurations/{name}", method = RequestMethod.GET)
    public JenkinsConfiguration getConfiguration(@PathVariable String name) {
        return jenkinsService.getConfiguration(name);
    }
912033
public CmsXmlContentProperty withName(String name) {

        return new CmsXmlContentProperty(
            name,
            m_type,
            m_visibility,
            m_widget,
            m_widgetConfiguration,
            m_ruleRegex,
            m_ruleType,
            m_default,
            m_niceName,
            m_description,
            m_error,
            m_preferFolder);
    }
158330
public InputStream openConfig(String name) {
        InputStream is = null;
        String configPath = configHome + "/" + name;

        try {
            return FileUtils.readResource(configPath);
        } catch (Throwable e) {
            LOG.debug("Config " + name + " (" + configPath + ") not found", e);
        }

        return is;
    }
854596
public String getTextValueForPatternName(final String name) {
        Node n = this.getSingle(name);
        String text = n == null ? null : n.getText();
        return text;
    }
851391
public T get(final String name) {
        for (final T i : this) {
            if (i.getName().equals(name)) {
                return i;
            }
        }
        return null;
    }