Package org.gradle.api.tasks

# Class WriteProperties.PropertiesAdapter

java.lang.Object
org.gradle.api.tasks.WriteProperties.PropertiesAdapter

Enclosing class:
  `WriteProperties`

static class WriteProperties.PropertiesAdapter extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PropertiesAdapter()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `(package private) static Map<String,String>`
  `getProperties(WriteProperties task)`
  `(package private) static void`
  `setProperties(WriteProperties task, Map<String,Object> properties)`
  Sets all properties to be written to the properties file replacing any existing properties.

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

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

- ## Constructor Details

  - ### PropertiesAdapter

    PropertiesAdapter()

- ## Method Details

  - ### getProperties

    static Map<String,String> getProperties(WriteProperties task)

  - ### setProperties

    static void setProperties(WriteProperties task, Map<String,Object> properties)
    Sets all properties to be written to the properties file replacing any existing properties.
    See Also:
      - `WriteProperties.properties(Map)`
      - `WriteProperties.property(String, Object)`