|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.util.DeepObject
com.threerings.config.ManagedConfig
com.threerings.config.ParameterizedConfig
public class ParameterizedConfig
A configuration that may include a number of parameters to be configured when the configuration is referenced.
| Field Summary | |
|---|---|
Parameter[] |
parameters
The parameters of the configuration. |
| Constructor Summary | |
|---|---|
ParameterizedConfig()
|
|
| Method Summary | |
|---|---|
ParameterizedConfig |
getInstance(Scope scope,
ArgumentMap args)
Returns the derived instance in the specified scope with the supplied arguments. |
Parameter |
getParameter(String name)
Returns a reference to the parameter with the supplied name, or null if it
doesn't exist. |
ConfigReference<? extends ManagedConfig> |
getReference()
Returns a reference to this configuration based on its name and arguments. |
void |
validateOuters(String where)
Validates the outer object references in this config. |
boolean |
validateReferences(String where,
PrintStream out)
Validates the references in this config. |
void |
wasUpdated()
Notes that this configuration has been updated. |
| Methods inherited from class com.threerings.config.ManagedConfig |
|---|
addListener, configUpdated, getConfigManager, getInstance, getInstance, getInstance, getInstance, getName, init, removeListener, resourceModified, setName, updateFromSource |
| Methods inherited from class com.threerings.util.DeepObject |
|---|
clone, copy, copy, equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
@Editable(weight=1.0) public Parameter[] parameters
| Constructor Detail |
|---|
public ParameterizedConfig()
| Method Detail |
|---|
public Parameter getParameter(String name)
null if it
doesn't exist.
public ConfigReference<? extends ManagedConfig> getReference()
ManagedConfig
getReference in class ManagedConfig
public ParameterizedConfig getInstance(Scope scope,
ArgumentMap args)
ManagedConfig
getInstance in class ManagedConfigpublic void wasUpdated()
ManagedConfig
wasUpdated in class ManagedConfig
public boolean validateReferences(String where,
PrintStream out)
ManagedConfig
validateReferences in class ManagedConfigpublic void validateOuters(String where)
ManagedConfig
validateOuters in class ManagedConfig
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||