public class RepositoryDistributionSnapshot extends BaseNuxeoArtifactDocAdapter implements DistributionSnapshot
DistributionSnapshot.OperationDocParamMixin
Modifier and Type | Field and Description |
---|---|
protected JavaDocHelper |
jdocHelper |
doc, localCoreSession, log
associatedDocuments
CONTAINER_TYPE_NAME, PROP_ALIASES, PROP_HIDE, PROP_KEY, PROP_LATEST_FT, PROP_LATEST_LTS, PROP_NAME, PROP_RELEASED, PROP_VERSION, TYPE_NAME
Constructor and Description |
---|
RepositoryDistributionSnapshot(DocumentModel doc) |
computeDocumentName, getCoreSession, getDoc, getHierarchyPath, getParentNuxeoArtifact, getRootPath, hashCode, releaseLocalCoreSession, safeGet, safeGet, safeGet, setLocalCoreSession
getAssociatedDocuments
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
jsonMapper, jsonReader, jsonWriter
protected JavaDocHelper jdocHelper
public RepositoryDistributionSnapshot(DocumentModel doc)
public static RepositoryDistributionSnapshot create(DistributionSnapshot distrib, CoreSession session, String containerPath, String label, Map<String,Serializable> properties)
public static List<DistributionSnapshot> readPersistentSnapshots(CoreSession session)
protected <T> List<T> getChildren(Class<T> adapter, String docType)
public BundleInfo getBundle(String id)
getBundle
in interface DistributionSnapshot
public BundleGroup getBundleGroup(String groupId)
getBundleGroup
in interface DistributionSnapshot
protected DocumentModel getBundleContainer()
public List<BundleGroup> getBundleGroups()
getBundleGroups
in interface DistributionSnapshot
public List<String> getBundleIds()
getBundleIds
in interface DistributionSnapshot
public ComponentInfo getComponent(String id)
getComponent
in interface DistributionSnapshot
public List<String> getComponentIds()
getComponentIds
in interface DistributionSnapshot
public ExtensionInfo getContribution(String id)
getContribution
in interface DistributionSnapshot
public List<String> getContributionIds()
getContributionIds
in interface DistributionSnapshot
public List<ExtensionInfo> getContributions()
getContributions
in interface DistributionSnapshot
public ExtensionPointInfo getExtensionPoint(String id)
getExtensionPoint
in interface DistributionSnapshot
public List<String> getExtensionPointIds()
getExtensionPointIds
in interface DistributionSnapshot
public List<String> getBundleGroupChildren(String groupId)
getBundleGroupChildren
in interface DistributionSnapshot
public List<String> getBundleGroupIds()
public List<String> getServiceIds()
getServiceIds
in interface DistributionSnapshot
public String getName()
getName
in interface DistributionSnapshotDesc
public String getVersion()
getVersion
in interface NuxeoArtifact
getVersion
in interface DistributionSnapshotDesc
public String getKey()
getKey
in interface DistributionSnapshot
public List<Class<?>> getSpi()
getSpi
in interface DistributionSnapshot
public String getId()
getId
in interface NuxeoArtifact
getId
in class BaseNuxeoArtifact
public String getArtifactType()
getArtifactType
in interface NuxeoArtifact
public ServiceInfo getService(String id)
getService
in interface DistributionSnapshot
public List<String> getJavaComponentIds()
getJavaComponentIds
in interface DistributionSnapshot
public List<String> getXmlComponentIds()
getXmlComponentIds
in interface DistributionSnapshot
public Date getCreationDate()
getCreationDate
in interface DistributionSnapshotDesc
public Date getReleaseDate()
getReleaseDate
in interface DistributionSnapshotDesc
public boolean isLive()
isLive
in interface DistributionSnapshotDesc
public SeamComponentInfo getSeamComponent(String id)
getSeamComponent
in interface DistributionSnapshot
public List<String> getSeamComponentIds()
getSeamComponentIds
in interface DistributionSnapshot
public List<SeamComponentInfo> getSeamComponents()
getSeamComponents
in interface DistributionSnapshot
public boolean containsSeamComponents()
containsSeamComponents
in interface DistributionSnapshot
public OperationInfo getOperation(String id)
getOperation
in interface DistributionSnapshot
public List<OperationInfo> getOperations()
getOperations
in interface DistributionSnapshot
public JavaDocHelper getJavaDocHelper()
public void cleanPreviousArtifacts()
cleanPreviousArtifacts
in interface DistributionSnapshot
public boolean isLatestFT()
isLatestFT
in interface DistributionSnapshot
public boolean isLatestLTS()
isLatestLTS
in interface DistributionSnapshot
public List<String> getAliases()
getAliases
in interface DistributionSnapshot
public boolean isHidden()
isHidden
in interface DistributionSnapshot
public ServerInfo getServerInfo()
getServerInfo
in interface DistributionSnapshot
Copyright © 2016 Nuxeo SA. All rights reserved.