public class

SimplePropertySupport

extends Object
implements PropertySupport
java.lang.Object
   ↳ com.atlassian.bitbucket.property.SimplePropertySupport
Known Direct Subclasses

Class Overview

An implementation of PropertySupport for use in SCM entities, with write-once immutability provided by setProperties(PropertyMap). Note: The recommended way to use this class is by composition.

Summary

Nested Classes
class SimplePropertySupport.AbstractPropertyBuilder<B extends AbstractPropertyBuilder<B>>  
Public Constructors
SimplePropertySupport(AbstractPropertyBuilder<?> builder)
Public Methods
@Nonnull PropertyMap getProperties()
void setProperties(PropertyMap properties)
Set properties on this entity.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.bitbucket.property.PropertySupport

Public Constructors

public SimplePropertySupport (AbstractPropertyBuilder<?> builder)

Public Methods

@Nonnull public PropertyMap getProperties ()

public void setProperties (PropertyMap properties)

Set properties on this entity. If the properties on this instance are already set, this will merge the properties. The new properties will overwrite existing properties with the same key.

Parameters
properties the properties to set