public class RuntimeSnapshot extends BaseNuxeoArtifact implements DistributionSnapshot
DistributionSnapshot.OperationDocParamMixin
Modifier and Type | Field and Description |
---|---|
protected List<BundleGroup> |
bundleGroups |
protected List<String> |
bundleIds |
protected Map<String,String> |
components2Bundles |
protected Map<String,ExtensionInfo> |
contributions |
protected Date |
created |
protected Map<String,ExtensionPointInfo> |
extensionPoints |
protected List<String> |
javaComponentsIds |
protected JavaDocHelper |
jdocHelper |
protected Map<String,List<String>> |
mavenGroups |
protected Map<String,List<String>> |
mavenSubGroups |
protected List<OperationInfo> |
operations |
protected boolean |
opsInitialized |
protected List<SeamComponentInfo> |
seamComponents |
protected boolean |
seamInitialized |
protected ServerInfo |
serverInfo |
protected Map<String,String> |
services2Components |
protected List<Class<?>> |
spi |
static String |
VIRTUAL_BUNDLE_GROUP |
associatedDocuments
CONTAINER_TYPE_NAME, PROP_ALIASES, PROP_HIDE, PROP_KEY, PROP_LATEST_FT, PROP_LATEST_LTS, PROP_NAME, PROP_RELEASED, PROP_VERSION, TYPE_NAME
Modifier | Constructor and Description |
---|---|
protected |
RuntimeSnapshot() |
getAssociatedDocuments
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
jsonMapper, jsonReader, jsonWriter
public static final String VIRTUAL_BUNDLE_GROUP
protected ServerInfo serverInfo
protected final List<String> javaComponentsIds
protected final Map<String,String> components2Bundles
protected final Map<String,String> services2Components
protected final Map<String,ExtensionPointInfo> extensionPoints
protected final Map<String,ExtensionInfo> contributions
protected final Map<String,List<String>> mavenGroups
protected final Map<String,List<String>> mavenSubGroups
protected final List<BundleGroup> bundleGroups
protected boolean seamInitialized
protected List<SeamComponentInfo> seamComponents
protected boolean opsInitialized
protected final List<OperationInfo> operations
protected JavaDocHelper jdocHelper
protected RuntimeSnapshot()
public static RuntimeSnapshot build()
public ServerInfo getServerInfo()
getServerInfo
in interface DistributionSnapshot
public String getVersion()
getVersion
in interface NuxeoArtifact
getVersion
in interface DistributionSnapshotDesc
public String getName()
getName
in interface DistributionSnapshotDesc
protected void index()
protected BundleGroupImpl buildBundleGroup(String id, String version)
public List<BundleGroup> getBundleGroups()
getBundleGroups
in interface DistributionSnapshot
public BundleGroup getBundleGroup(String groupId)
getBundleGroup
in interface DistributionSnapshot
protected void browseBundleGroup(BundleGroup group, int level, List<BundleGroupFlatTree> tree)
public List<String> getBundleIds()
getBundleIds
in interface DistributionSnapshot
public BundleInfo getBundle(String id)
getBundle
in interface DistributionSnapshot
public List<String> getComponentIds()
getComponentIds
in interface DistributionSnapshot
public ComponentInfo getComponent(String id)
getComponent
in interface DistributionSnapshot
public List<String> getServiceIds()
getServiceIds
in interface DistributionSnapshot
public List<String> getExtensionPointIds()
getExtensionPointIds
in interface DistributionSnapshot
public ExtensionPointInfo getExtensionPoint(String id)
getExtensionPoint
in interface DistributionSnapshot
public List<String> getContributionIds()
getContributionIds
in interface DistributionSnapshot
public List<ExtensionInfo> getContributions()
getContributions
in interface DistributionSnapshot
public ExtensionInfo getContribution(String id)
getContribution
in interface DistributionSnapshot
public List<String> getBundleGroupIds()
public List<String> getBundleGroupChildren(String groupId)
getBundleGroupChildren
in interface DistributionSnapshot
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 String getHierarchyPath()
getHierarchyPath
in interface NuxeoArtifact
public void initSeamComponents(javax.servlet.http.HttpServletRequest request)
public void initOperations()
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
Copyright © 2017 Nuxeo. All rights reserved.