Replace the override priority enum with an int

This commit is contained in:
James Seibel
2022-09-05 21:11:29 -05:00
parent f61d113493
commit 7ee113ddff
14 changed files with 230 additions and 298 deletions
@@ -1,5 +1,6 @@
package com.seibel.lod.api.items.interfaces.override;
import com.seibel.lod.core.api.external.coreInterfaces.ICoreDhApiOverrideable;
import com.seibel.lod.core.api.external.items.enums.override.EDhApiOverridePriority;
import com.seibel.lod.core.handlers.dependencyInjection.IBindable;
@@ -7,14 +8,15 @@ import com.seibel.lod.core.handlers.dependencyInjection.IBindable;
* Implemented by all DhApi objects that can be overridden.
*
* @author James Seibel
* @version 2022-7-18
* @version 2022-9-5
*/
public interface IDhApiOverrideable extends IBindable
public interface IDhApiOverrideable extends ICoreDhApiOverrideable, IBindable
{
/**
* Returns when this Override should be used. <br>
* For most developers this can be left at the default.
*/
default EDhApiOverridePriority getOverrideType() { return EDhApiOverridePriority.PRIMARY; }
@Override
default EDhApiOverridePriority getPriority() { return EDhApiOverridePriority.PRIMARY; }
}