com.almworks.jira.structure.api.util.Ref Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of structure-api Show documentation
Show all versions of structure-api Show documentation
Public API for the Structure Plugin for JIRA
The newest version!
package com.almworks.jira.structure.api.util;
/**
* A simple value holder, used to provide outgoing parameters. Similar to AtomicReference, but without the volatile modifier.
*
* todo To be merged with Ref introduced in a parallel PR
*/
public class Ref {
public T value;
public Ref() {}
public Ref(T value) {
this.value = value;
}
@Override
public String toString() {
return String.valueOf(value);
}
}