Faceted Project Framework
Version 1.3

org.eclipse.wst.common.project.facet.core.runtime
Interface IRuntimeComponentVersion

All Superinterfaces:
Comparable, IAdaptable, IVersion

public interface IRuntimeComponentVersion
extends Comparable, IVersion, IAdaptable

Represents a version of a runtime component. A runtime instance is composed of multiple runtime components, each of which has a type and a version.

This interface is not intended to be implemented outside of this framework. Runtime component versions are declared using org.eclipse.wst.common.project.facet.core.runtimes extension point. Once declared, client code can get access to IRuntimeComponentVersion objects by using methods on the IRuntimeComponentType class.

Author:
Konstantin Komissarchik
See Also:
IRuntimeComponentType.getVersions(), IRuntimeComponentType.getVersions(String), IRuntimeComponentType.getVersion(String), IRuntimeComponentType.hasVersion(String), IRuntimeComponentType.getLatestVersion(), IRuntimeComponentType.getSortedVersions(boolean)

Method Summary
 IRuntimeComponentType getRuntimeComponentType()
          Returns the runtime component type that this is a version of.
 String getVersionString()
          Returns the version string.
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Method Detail

getRuntimeComponentType

IRuntimeComponentType getRuntimeComponentType()
Returns the runtime component type that this is a version of.

Returns:
returns the runtime component type that this is a version of

getVersionString

String getVersionString()
Returns the version string.

Specified by:
getVersionString in interface IVersion
Returns:
the version string

Faceted Project Framework
Version 1.3

Copyright (c) 2008 Oracle and others. All rights reserved.