Metadata is a state representation. It contains values that should be persistent between the CollectReportingData runs.
Type | Name and description |
---|---|
java.lang.String |
metadataPath Full path to the property where the value is stored |
java.util.Map |
value Values this metadata stores |
Constructor and description |
---|
Metadata
(java.util.Map initArgs) Constructor. |
Type Params | Return Type | Name and description |
---|---|---|
|
static Metadata |
newFromLocation(java.lang.String location) Reads and decodes value stored on the CloudBees CD server |
|
java.lang.String |
toString() |
|
void |
write() Encodes current value to a JSON string and saves it under the specified property path. |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Full path to the property where the value is stored
Values this metadata stores
Constructor. Simple properties assigning
initArgs
- map with the 'metadataPath' and 'value' keysReads and decodes value stored on the CloudBees CD server
location
- full property pathEncodes current value to a JSON string and saves it under the specified property path.
Groovy Documentation