Class OverridePriorityListContainer
java.lang.Object
com.seibel.distanthorizons.coreapi.DependencyInjection.OverridePriorityListContainer
- All Implemented Interfaces:
IBindable
Contains a list of overrides and their priorities.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addOverride
(IDhApiOverrideable override) Doesn't do any validationgetOverrideWithPriority
(int priority) Returns null if no override with the given priority is foundboolean
removeOverride
(IDhApiOverrideable override) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.seibel.distanthorizons.coreapi.interfaces.dependencyInjection.IBindable
finishDelayedSetup, getDelayedSetupComplete
-
Constructor Details
-
OverridePriorityListContainer
public OverridePriorityListContainer()
-
-
Method Details
-
addOverride
Doesn't do any validation -
removeOverride
- Returns:
- true if the override was removed from the list, false otherwise.
-
getOverrideWithLowestPriority
-
getOverrideWithHighestPriority
-
getCoreOverride
-
getOverrideWithPriority
Returns null if no override with the given priority is found
-