org.apache.nutch.service.impl

## Class ConfManagerImpl

- java.lang.Object
- - org.apache.nutch.service.impl.ConfManagerImpl

- All Implemented Interfaces:
    ConfManager

      public class ConfManagerImpl
      extends java.lang.Object
      implements ConfManager

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ConfManagerImpl()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `create(NutchConfig nutchConfig)` Created a new configuration based on the values provided.
    `void` | `delete(java.lang.String confId)`
    `Configuration` | `get(java.lang.String confId)` Returns the configuration associatedConfManagerImpl with the given confId
    `java.util.Map<java.lang.String,java.lang.String>` | `getAsMap(java.lang.String confId)`
    `java.util.Set<java.lang.String>` | `list()`
    `void` | `setProperty(java.lang.String confId, java.lang.String propName, java.lang.String propValue)` Sets the given property in the configuration associated with the confId

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ConfManagerImpl

          public ConfManagerImpl()

  - ### Method Detail

    - #### get

          public Configuration get(java.lang.String confId)

      Returns the configuration associatedConfManagerImpl with the given confId
      Specified by:
        `get` in interface `ConfManager`

    - #### getAsMap

          public java.util.Map<java.lang.String,java.lang.String> getAsMap(java.lang.String confId)

      Specified by:
        `getAsMap` in interface `ConfManager`

    - #### setProperty

          public void setProperty(java.lang.String confId,
                                  java.lang.String propName,
                                  java.lang.String propValue)

      Sets the given property in the configuration associated with the confId
      Specified by:
        `setProperty` in interface `ConfManager`

    - #### list

          public java.util.Set<java.lang.String> list()

      Specified by:
        `list` in interface `ConfManager`

    - #### create

          public java.lang.String create(NutchConfig nutchConfig)

      Created a new configuration based on the values provided.
      Specified by:
        `create` in interface `ConfManager`
      Parameters:
        `nutchConfig` -
      Returns:
        String - confId

    - #### delete

          public void delete(java.lang.String confId)

      Specified by:
        `delete` in interface `ConfManager`

Copyright © 2019 The Apache Software Foundation