public class ReportConfiguration extends SimpleContributionRegistry<ReportConfiguration.Contribution> implements Iterable<ReportConfiguration.Contribution>
Modifier and Type | Class and Description |
---|---|
static class |
ReportConfiguration.Contribution |
ContributionFragmentRegistry.Fragment<T>, ContributionFragmentRegistry.FragmentList<T>
currentContribs
contribs
Constructor and Description |
---|
ReportConfiguration() |
Modifier and Type | Method and Description |
---|---|
ReportConfiguration.Contribution |
clone(ReportConfiguration.Contribution orig)
CLone the given contribution object
|
String |
getContributionId(ReportConfiguration.Contribution contrib)
Returns the contribution ID given the contribution object
|
boolean |
isSupportingMerge()
Returns true if merge is supported.
|
Iterator<ReportConfiguration.Contribution> |
iterator() |
void |
merge(ReportConfiguration.Contribution src,
ReportConfiguration.Contribution dst)
Merge 'src' into 'dst'.
|
contributionRemoved, contributionUpdated, getCurrentContribution
addContribution, addFragment, getContribution, getFragments, removeContribution, removeContribution, removeFragment, toMap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public ReportConfiguration()
public String getContributionId(ReportConfiguration.Contribution contrib)
ContributionFragmentRegistry
getContributionId
in class ContributionFragmentRegistry<ReportConfiguration.Contribution>
public boolean isSupportingMerge()
ContributionFragmentRegistry
Hook method to be overridden if merge logics behind Object.clone()
and ContributionFragmentRegistry.merge(Object, Object)
cannot be
implemented.
isSupportingMerge
in class SimpleContributionRegistry<ReportConfiguration.Contribution>
public void merge(ReportConfiguration.Contribution src, ReportConfiguration.Contribution dst)
ContributionFragmentRegistry
merge
in class SimpleContributionRegistry<ReportConfiguration.Contribution>
src
- the object to copy over the 'dst' objectdst
- this object is modifiedpublic ReportConfiguration.Contribution clone(ReportConfiguration.Contribution orig)
ContributionFragmentRegistry
clone
in class SimpleContributionRegistry<ReportConfiguration.Contribution>
public Iterator<ReportConfiguration.Contribution> iterator()
iterator
in interface Iterable<ReportConfiguration.Contribution>
Copyright © 2018 Nuxeo. All rights reserved.