
@Generated(value="org.jomc.tools.SourceFileProcessor 1.5", comments="See http://www.jomc.org/jomc/1.5/jomc-tools-1.5") public class RuntimeArguments extends Arguments implements RuntimeModelObject
Arguments.
authors, createDate, deprecated, documentation, MODEL_PUBLIC_ID, modelVersion| Constructor and Description |
|---|
RuntimeArguments()
Creates a new
RuntimeArguments instance. |
RuntimeArguments(Arguments arguments)
Creates a new
RuntimeArguments instance by deeply copying a given Arguments instance. |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears shared runtime state.
|
void |
gc()
Handles shared runtime state.
|
Argument |
getArgument(int index)
Gets an argument for a given index from the list of arguments.
|
Argument |
getArgument(String name)
Gets an argument for a given name from the list of arguments.
|
clone, getArgumentgetAnyElement, getAnyElement, getAnyElements, getAnyElements, getAnyObject, getAnyObjects, getAuthors, getCreateDate, getDocumentation, getModelVersion, isDeprecated, setAuthors, setCreateDate, setDeprecated, setDocumentation, setModelVersionpublic RuntimeArguments(Arguments arguments)
RuntimeArguments instance by deeply copying a given Arguments instance.arguments - The instance to copy.NullPointerException - if arguments is null.@Generated(value="org.jomc.tools.SourceFileProcessor 1.5", comments="See http://www.jomc.org/jomc/1.5/jomc-tools-1.5") public RuntimeArguments()
RuntimeArguments instance.public Argument getArgument(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.
getArgument in class Argumentsname - The name of the argument to return.null, if no such argument is found.NullPointerException - if name is null.Arguments.getArgument(),
Argument.getName(),
clear()public Argument getArgument(int index)
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.
getArgument in class Argumentsindex - The index of the argument to return.null, if no such argument is found.IndexOutOfBoundsException - if index is negative, greater or equal to the size of the list of
arguments.Arguments.getArgument(),
Argument.getIndex(),
clear()public void gc()
RuntimeModelObjectgc in interface RuntimeModelObjectpublic void clear()
RuntimeModelObjectclear in interface RuntimeModelObjectCopyright © 2005-2013 The JOMC Project. All Rights Reserved.