public class RepositoryDistributionSnapshot extends BaseNuxeoArtifactDocAdapter implements DistributionSnapshot
CONTAINER_TYPE_NAME, PROP_KEY, PROP_NAME, PROP_VERSION, TYPE_NAME
Constructor and Description |
---|
RepositoryDistributionSnapshot(DocumentModel doc) |
getDoc, getHierarchyPath, hashCode, releaseLocalCoreSession, setLocalCoreSession
getAssociatedDocuments
public RepositoryDistributionSnapshot(DocumentModel doc)
public static RepositoryDistributionSnapshot create(DistributionSnapshot distrib, CoreSession session, String containerPath, String label) throws ClientException
ClientException
public static List<DistributionSnapshot> readPersistentSnapshots(CoreSession session)
public BundleInfo getBundle(String id)
getBundle
in interface DistributionSnapshot
public BundleGroup getBundleGroup(String groupId)
getBundleGroup
in interface DistributionSnapshot
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> 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 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()
getJavaDocHelper
in interface DistributionSnapshot
public void cleanPreviousArtifacts()
cleanPreviousArtifacts
in interface DistributionSnapshot
Copyright © 2015 Nuxeo SA. All rights reserved.