public class DefaultRepositoryBaselineSupport extends RepositoryBaselineSupport
oracle.adf.share.sandbox.RepositoryBaselineSupport.| Constructor and Description |
|---|
DefaultRepositoryBaselineSupport()
Constructs an instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
abandonPreparedBaseline(java.lang.String reposId)
Abandons a baseline that was just prepared.
|
java.lang.Long |
certifyBaseline(java.lang.String reposId,
java.lang.String certifiedLabel,
java.lang.String description)
Finalizes a certified baseline that has been prepared.
|
java.util.Set<java.lang.Long> |
certifyBaselines(java.util.Map<java.lang.String,java.lang.String> certifiedLabels,
java.lang.String description)
Finalizes in an atomic transaction a collection of certified baslines that
have been prepared.
|
void |
deleteBaselines(java.util.Set<java.lang.Long> baselineIDs)
Deletes certified baselines.
|
MetadataRepositoryBaseline |
getLatestBaseline(java.lang.String reposId)
Gets the latest certified baseline of a repository.
|
void |
prepareBaseline(java.lang.String reposId,
java.lang.String preCertifiedLabel)
Prepares for the next certified baseline.
|
getInstancepublic DefaultRepositoryBaselineSupport()
public MetadataRepositoryBaseline getLatestBaseline(java.lang.String reposId)
RepositoryBaselineSupportgetLatestBaseline in class RepositoryBaselineSupportreposId - the repository IDnull if this repository
is fresh without prior customizationpublic void prepareBaseline(java.lang.String reposId,
java.lang.String preCertifiedLabel)
RepositoryBaselineSupportprepareBaseline in class RepositoryBaselineSupportreposId - the repository IDpreCertifiedLabel - the pre-certified label to be recorded;
null if not availablepublic void abandonPreparedBaseline(java.lang.String reposId)
RepositoryBaselineSupportabandonPreparedBaseline in class RepositoryBaselineSupportreposId - the repository IDpublic java.lang.Long certifyBaseline(java.lang.String reposId,
java.lang.String certifiedLabel,
java.lang.String description)
RepositoryBaselineSupportcertifyBaseline in class RepositoryBaselineSupportreposId - the repository IDcertifiedLabel - the label associated with the baselinedescription - the short description of the new baselinepublic java.util.Set<java.lang.Long> certifyBaselines(java.util.Map<java.lang.String,java.lang.String> certifiedLabels,
java.lang.String description)
RepositoryBaselineSupportcertifyBaselines in class RepositoryBaselineSupportcertifiedLabels - the map from the IDs of the repositories to their
certified labelsdescription - the short description of the new baselinespublic void deleteBaselines(java.util.Set<java.lang.Long> baselineIDs)
RepositoryBaselineSupportdeleteBaselines in class RepositoryBaselineSupportbaselineIDs - the set of baseline IDs