@Generated(value="org.jomc.tools.SourceFileProcessor 1.9", comments="See http://www.jomc.org/jomc/1.9/jomc-tools-1.9") public class RuntimeDependencies extends Dependencies implements RuntimeModelObject
Dependencies
.
dependency
authors, createDate, deprecated, documentation, MODEL_PUBLIC_ID, modelVersion
Constructor and Description |
---|
RuntimeDependencies()
Creates a new
RuntimeDependencies instance. |
RuntimeDependencies(Dependencies dependencies)
Creates a new
RuntimeDependencies instance by deeply copying a given Dependencies instance. |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears shared runtime state.
|
void |
gc()
Handles shared runtime state.
|
Dependency |
getDependency(String name)
Gets a dependency for a given name from the list of dependencies.
|
clone, getDependenciesBySpecification, getDependency
getAnyElement, getAnyElement, getAnyElements, getAnyElements, getAnyObject, getAnyObjects, getAuthors, getCreateDate, getDocumentation, getModelVersion, isDeprecated, setAuthors, setCreateDate, setDeprecated, setDocumentation, setModelVersion
public RuntimeDependencies(Dependencies dependencies)
RuntimeDependencies
instance by deeply copying a given Dependencies
instance.dependencies
- The instance to copy.NullPointerException
- if dependencies
is null
.@Generated(value="org.jomc.tools.SourceFileProcessor 1.9", comments="See http://www.jomc.org/jomc/1.9/jomc-tools-1.9") public RuntimeDependencies()
RuntimeDependencies
instance.public Dependency getDependency(String name)
This method queries an internal cache for a result object to return for the given argument values. If no cached result object is available, this method queries the super-class for a result object to return and caches the outcome of that query for use on successive calls.
Note:
Method clear()
must be used to synchronize the state of the internal cache with the
state of the instance, should the state of the instance change.
getDependency
in class Dependencies
name
- The name of the dependency to return.null
, if no such dependency is found.NullPointerException
- if name
is null
.Dependencies.getDependency()
,
Dependency.getName()
,
clear()
public void gc()
RuntimeModelObject
gc
in interface RuntimeModelObject
public void clear()
RuntimeModelObject
clear
in interface RuntimeModelObject
Copyright © 2005–2015 The JOMC Project. All rights reserved.