|
Faceted Project Framework Version 1.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.wst.common.project.facet.core.runtime.RuntimeManager
public final class RuntimeManager
Method Summary | |
---|---|
static void |
addListener(IRuntimeLifecycleListener listener,
IRuntimeLifecycleEvent.Type... types)
|
static void |
addRuntimeListener(IListener listener)
|
static IRuntimeComponent |
createRuntimeComponent(IRuntimeComponentVersion rcv,
Map<String,String> properties)
Creates a new runtime componenet. |
static IRuntime |
defineRuntime(String name,
List<IRuntimeComponent> components,
Map<String,String> properties)
Defines a new runtime. |
static void |
deleteRuntime(IRuntime runtime)
Deletes the runtime from the registry. |
static IRuntime |
getRuntime(String name)
Returns the runtime corresponding to the specified name. |
static IRuntimeComponentType |
getRuntimeComponentType(String id)
Returns the IRuntimeComponentType object corresponding to the
specified runtime component type id. |
static Set<IRuntimeComponentType> |
getRuntimeComponentTypes()
Returns all of the available runtime component types. |
static Set<IRuntime> |
getRuntimes()
Returns all of the defined runtimes. |
static Set<IRuntime> |
getRuntimes(Set<IProjectFacetVersion> facets)
Returns the runtimes that support all of the specified facets. |
static boolean |
isRuntimeComponentTypeDefined(String id)
Determines whether the specified runtime component type exists. |
static boolean |
isRuntimeDefined(String name)
Determines whether the specified runtime has been defined. |
static void |
removeListener(IRuntimeLifecycleListener listener)
|
static void |
removeRuntimeListener(IListener listener)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Set<IRuntimeComponentType> getRuntimeComponentTypes()
public static boolean isRuntimeComponentTypeDefined(String id)
id
- the runtime component type id
true
if the specified runtime component type exists,
false
otherwisepublic static IRuntimeComponentType getRuntimeComponentType(String id)
IRuntimeComponentType
object corresponding to the
specified runtime component type id.
id
- the runtime componenet type id
IRuntimeComponentType
object corresponding to the
specified runtime componenet type id
IllegalArgumentException
- if the runtime component type id is not
recognizedpublic static Set<IRuntime> getRuntimes()
public static Set<IRuntime> getRuntimes(Set<IProjectFacetVersion> facets)
facets
- the facets that need to be supported
public static boolean isRuntimeDefined(String name)
name
- the runtime name
true
if the specified runtime is defined,
false
otherwisepublic static IRuntime getRuntime(String name)
name
- the runtime name
IllegalArgumentException
- if the runtime name is not recognizedpublic static IRuntime defineRuntime(String name, List<IRuntimeComponent> components, Map<String,String> properties)
name
- the runtime namecomponents
- the list of runtime componenetsproperties
- the runtime properties
public static void deleteRuntime(IRuntime runtime)
runtime
- the runtime to deletepublic static IRuntimeComponent createRuntimeComponent(IRuntimeComponentVersion rcv, Map<String,String> properties)
defineRuntime(String,List,Map)
method.
rcv
- the runtime component versionproperties
- the runtime component properties
public static void addRuntimeListener(IListener listener)
public static void removeRuntimeListener(IListener listener)
public static void addListener(IRuntimeLifecycleListener listener, IRuntimeLifecycleEvent.Type... types)
public static void removeListener(IRuntimeLifecycleListener listener)
|
Faceted Project Framework Version 1.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |